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::TrSelector Class Reference

#include <tr_selector.hpp>

Public Member Functions

 TrSelector ()
 
 TrSelector (const TrSelector &that)
 
 ~TrSelector ()
 
TrSelectoroperator= (const TrSelector &that)
 
TrSelectoroperator<< (const TrSelBaseRule &r)
 
void clear ()
 
size_t rulesNum () const
 
const TrSelBaseRulerule (size_t id) const
 
void info (std::ostream &stream=std::cout) const
 

Protected Attributes

std::vector< TrSelBaseRule * > m_rules
 

Detailed Description

Traces selector.

Constructor & Destructor Documentation

hds::db::TrSelector::TrSelector ( )

Default constructor. Creates an empty selector object.

hds::db::TrSelector::TrSelector ( const TrSelector that)

Copy constructor.

hds::db::TrSelector::~TrSelector ( )

Destruct selector.

Member Function Documentation

void hds::db::TrSelector::clear ( )

Clear all added rules.

void hds::db::TrSelector::info ( std::ostream &  stream = std::cout) const

Prints selector info.

TrSelector& hds::db::TrSelector::operator<< ( const TrSelBaseRule r)

Add selection rule.

TrSelector& hds::db::TrSelector::operator= ( const TrSelector that)

Assignment.

const TrSelBaseRule* hds::db::TrSelector::rule ( size_t  id) const

Get pointer to rule with provided id or 0x0 if no such rule.

size_t hds::db::TrSelector::rulesNum ( ) const

Get number of selection rules.

Member Data Documentation

std::vector<TrSelBaseRule*> hds::db::TrSelector::m_rules
protected

< Vector of added rules pointers.


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