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::TrSelMatchRule< AttrT > Class Template Reference

#include <tr_selector.hpp>

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

Public Member Functions

 TrSelMatchRule (TrSelMatchOp op, TrHeaderAttrId hdr_attr_id, const AttrT &attr_val)
 
 TrSelMatchRule (TrSelMatchOp op, TrHeaderAttrId hdr_attr_id, std::vector< AttrT > &attr_vals)
 
virtual ~TrSelMatchRule ()
 
virtual TrSelBaseRuleclone () const
 
virtual int opType () const
 
TrHeaderAttrId hdrAttrId () const
 
const std::vector< AttrT > & hdrAttrVals () const
 
- Public Member Functions inherited from hds::db::TrSelBaseRule
 TrSelBaseRule ()
 
virtual ~TrSelBaseRule ()
 

Protected Attributes

TrSelMatchOp m_op
 
TrHeaderAttrId m_hdr_attr_id
 
std::vector< AttrT > m_hdr_attr_vals
 

Detailed Description

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

Matching rule for traces selection.

Constructor & Destructor Documentation

template<typename AttrT >
hds::db::TrSelMatchRule< AttrT >::TrSelMatchRule ( TrSelMatchOp  op,
TrHeaderAttrId  hdr_attr_id,
const AttrT &  attr_val 
)
Constructor with matching operation, header attribute and 

value of the header attribute provided.

template<typename AttrT >
hds::db::TrSelMatchRule< AttrT >::TrSelMatchRule ( TrSelMatchOp  op,
TrHeaderAttrId  hdr_attr_id,
std::vector< AttrT > &  attr_vals 
)
Constructor with matching operation, header attribute and 

values of the header attribute provided.

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

Destructor.

Member Function Documentation

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

Clone this rule.

Implements hds::db::TrSelBaseRule.

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

Id of header attribute.

Implements hds::db::TrSelBaseRule.

template<typename AttrT >
const std::vector< AttrT > & hds::db::TrSelMatchRule< AttrT >::hdrAttrVals ( ) const

Access to header attribute values.

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

Get type of rule operation.

Implements hds::db::TrSelBaseRule.

Member Data Documentation

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

Vector of header attribute values.

template<typename AttrT>
TrSelMatchOp hds::db::TrSelMatchRule< AttrT >::m_op
protected

< Current sorting operation. Id of the header attribute.


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