#include <Metadata.hxx>
Public Member Functions | |
virtual | ~ParameterSet () |
virtual string | getClassName ()=0 |
Return class name. | |
virtual void | addAParameter (Parameter &aParam)=0 |
Add a parameter to the set. | |
virtual Parameter * | getParameterAt (string name)=0 |
Get a parameter in the set. | |
virtual Parameter * | getParameterAt (int index)=0 |
Get a parameter in the set. | |
virtual int | getNumOfParameters ()=0 |
Get count of parameters in the set. | |
virtual string | getTBName ()=0 |
Get table where the set is store in database. | |
virtual bool | compareWith (ParameterSet &another, map< string, double > tMap, map< string, int > rMap)=0 |
Compare with another parameter set of the same type. | |
virtual bool | compareWith (ParameterSet &another, map< string, int > rMap)=0 |
Compare with another parameter set of the same type. | |
virtual string | getDBConditions (int *tbIndices, map< string, double > tMap, map< string, int > rMap)=0 |
Produce a SQL string text that specifies conditions related to the parameter set, which can be used in 'where' clause in a SQL command. | |
virtual ParameterSet * | clone ()=0 |
virtual cqosdb::ParameterSet::~ParameterSet | ( | ) | [inline, virtual] |
virtual string cqosdb::ParameterSet::getClassName | ( | ) | [pure virtual] |
virtual void cqosdb::ParameterSet::addAParameter | ( | Parameter & | aParam | ) | [pure virtual] |
virtual Parameter* cqosdb::ParameterSet::getParameterAt | ( | string | name | ) | [pure virtual] |
virtual Parameter* cqosdb::ParameterSet::getParameterAt | ( | int | index | ) | [pure virtual] |
Get a parameter in the set.
index | Parameter index in the set |
Implemented in cqosdb::PropertySet.
virtual int cqosdb::ParameterSet::getNumOfParameters | ( | ) | [pure virtual] |
virtual string cqosdb::ParameterSet::getTBName | ( | ) | [pure virtual] |
virtual bool cqosdb::ParameterSet::compareWith | ( | ParameterSet & | another, | |
map< string, double > | tMap, | |||
map< string, int > | rMap | |||
) | [pure virtual] |
Compare with another parameter set of the same type.
another | another parameter set | |
tMap | comparison tolerance values | |
rMap | comparison relations, which could be LT, LTEQ, GT, GTEQ, EQ, NEQ, BT |
Implemented in cqosdb::PropertySet.
virtual bool cqosdb::ParameterSet::compareWith | ( | ParameterSet & | another, | |
map< string, int > | rMap | |||
) | [pure virtual] |
Compare with another parameter set of the same type.
another | another parameter set | |
rMap | comparison relations, which could be LT, LTEQ, GT, GTEQ, EQ, NEQ |
Implemented in cqosdb::PropertySet.
virtual string cqosdb::ParameterSet::getDBConditions | ( | int * | tbIndices, | |
map< string, double > | tMap, | |||
map< string, int > | rMap | |||
) | [pure virtual] |
Produce a SQL string text that specifies conditions related to the parameter set, which can be used in 'where' clause in a SQL command.
tbIndices | indices of tables storing the parameter set | |
tMap | comparison tolerance values | |
rMap | comparison relations, either L, LTEQ, EQ, NEQ, GT, GTEQ, or BT |
Implemented in cqosdb::PropertySet.
virtual ParameterSet* cqosdb::ParameterSet::clone | ( | ) | [pure virtual] |
Implemented in cqosdb::PropertySet.