UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Protected Attributes | List of all members
hds::db::TrSelRangeRule< AttrT > Class Template Reference

#include <tr_selector.hpp>

Inheritance diagram for hds::db::TrSelRangeRule< AttrT >:
hds::db::TrSelBaseRule

Public Member Functions

 TrSelRangeRule (TrHeaderAttrId hdr_attr_id, const AttrT &av1, const AttrT &av2)
 
virtual ~TrSelRangeRule ()
 
virtual TrSelBaseRuleclone () const
 
virtual int opType () const
 
TrHeaderAttrId hdrAttrId () const
 
const std::pair< AttrT, AttrT > & range () const
 
- Public Member Functions inherited from hds::db::TrSelBaseRule
 TrSelBaseRule ()
 
virtual ~TrSelBaseRule ()
 

Protected Attributes

TrHeaderAttrId m_hdr_attr_id
 
std::pair< AttrT, AttrT > m_range
 

Detailed Description

template<typename AttrT>
class hds::db::TrSelRangeRule< AttrT >

Selection rule for attribute in range [val1, val2].

Constructor & Destructor Documentation

template<typename AttrT >
hds::db::TrSelRangeRule< AttrT >::TrSelRangeRule ( TrHeaderAttrId  hdr_attr_id,
const AttrT &  av1,
const AttrT &  av2 
)

Constructor with header attribute id and range provided.

template<typename AttrT >
hds::db::TrSelRangeRule< AttrT >::~TrSelRangeRule ( )
virtual

Destructor.

Member Function Documentation

template<typename AttrT >
hds::db::TrSelBaseRule * hds::db::TrSelRangeRule< AttrT >::clone ( ) const
virtual

Clone this rule.

Implements hds::db::TrSelBaseRule.

template<typename AttrT >
hds::db::TrHeaderAttrId hds::db::TrSelRangeRule< AttrT >::hdrAttrId ( ) const
virtual

Id of header attribute.

Implements hds::db::TrSelBaseRule.

template<typename AttrT >
int hds::db::TrSelRangeRule< AttrT >::opType ( ) const
virtual

Get type of rule operation.

Implements hds::db::TrSelBaseRule.

template<typename AttrT >
const std::pair< AttrT, AttrT > & hds::db::TrSelRangeRule< AttrT >::range ( ) const

Access to current range.

Member Data Documentation

template<typename AttrT>
TrHeaderAttrId hds::db::TrSelRangeRule< AttrT >::m_hdr_attr_id
protected

< Id of the header attribute. Current range.


The documentation for this class was generated from the following files: