cqosdb::ParameterSet Class Reference

#include <Metadata.hxx>

Inheritance diagram for cqosdb::ParameterSet:

cqosdb::PropertySet

List of all members.

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 ParametergetParameterAt (string name)=0
 Get a parameter in the set.
virtual ParametergetParameterAt (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 ParameterSetclone ()=0


Constructor & Destructor Documentation

virtual cqosdb::ParameterSet::~ParameterSet (  )  [inline, virtual]


Member Function Documentation

virtual string cqosdb::ParameterSet::getClassName (  )  [pure virtual]

Return class name.

Implemented in cqosdb::PropertySet.

virtual void cqosdb::ParameterSet::addAParameter ( Parameter aParam  )  [pure virtual]

Add a parameter to the set.

Implemented in cqosdb::PropertySet.

virtual Parameter* cqosdb::ParameterSet::getParameterAt ( string  name  )  [pure virtual]

Get a parameter in the set.

Parameters:
name Parameter name

Implemented in cqosdb::PropertySet.

virtual Parameter* cqosdb::ParameterSet::getParameterAt ( int  index  )  [pure virtual]

Get a parameter in the set.

Parameters:
index Parameter index in the set

Implemented in cqosdb::PropertySet.

virtual int cqosdb::ParameterSet::getNumOfParameters (  )  [pure virtual]

Get count of parameters in the set.

Implemented in cqosdb::PropertySet.

virtual string cqosdb::ParameterSet::getTBName (  )  [pure virtual]

Get table where the set is store in database.

Implemented in cqosdb::PropertySet.

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.

Parameters:
another another parameter set
tMap comparison tolerance values
rMap comparison relations, which could be LT, LTEQ, GT, GTEQ, EQ, NEQ, BT
Returns:
true if every pair of parameters comparison is true false otherwise

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.

Parameters:
another another parameter set
rMap comparison relations, which could be LT, LTEQ, GT, GTEQ, EQ, NEQ
Returns:
true if every pair of parameters comparison is true false otherwise

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.

Parameters:
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.


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

Generated on Tue Sep 23 19:59:06 2008 for CQoS Database Library by  doxygen 1.5.5