UNIVERS
15.3
UNIVERS base processing software API
|
#include <tr_selector.hpp>
Public Member Functions | |
TrSelector () | |
TrSelector (const TrSelector &that) | |
~TrSelector () | |
TrSelector & | operator= (const TrSelector &that) |
TrSelector & | operator<< (const TrSelBaseRule &r) |
void | clear () |
size_t | rulesNum () const |
const TrSelBaseRule * | rule (size_t id) const |
void | info (std::ostream &stream=std::cout) const |
Protected Attributes | |
std::vector< TrSelBaseRule * > | m_rules |
Traces selector.
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.
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.
|
protected |
< Vector of added rules pointers.