#include <Comparator.hxx>
Public Member Functions | |
virtual | ~Comparator () |
virtual string | getClassName ()=0 |
Return class name. | |
virtual void | setLHS (ParameterSet &lefthand)=0 |
Set left hand side parameter set to be compared. | |
virtual void | setRHS (ParameterSet &righthand)=0 |
Set right hand side parameter set to be compared. | |
virtual ParameterSet & | getLHS ()=0 |
Grab left hand side parameter set to be compared. | |
virtual ParameterSet & | getRHS ()=0 |
Grab right hand side parameter set to be compared. | |
virtual Parameter * | getLHSParameterAt (string paraName)=0 |
Grab a parameter at the left hand side of comparison. | |
virtual Parameter * | getRHSParameterAt (string paraName)=0 |
Grab a parameter at the right hand side of comparison. | |
virtual int | getDimension ()=0 |
Get count of parameters to be compared. | |
virtual void | setToleranceAt (string name, double epsilon)=0 |
Set up comparison tolerance of a parameter. | |
virtual double | getToleranceAt (string name)=0 |
Get comparison tolerance value of a parameter. | |
virtual void | setRelationAt (string name, int aRelation)=0 |
Set comparison relation at a parameter. | |
virtual int | getRelationAt (string name)=0 |
Grab comparison relation at a parameter. | |
virtual bool | doCompare ()=0 |
After setting up left, right hand side, tolerances, and comparison relation, do comparison. |
virtual cqosdb::Comparator::~Comparator | ( | ) | [inline, virtual] |
virtual string cqosdb::Comparator::getClassName | ( | ) | [pure virtual] |
virtual void cqosdb::Comparator::setLHS | ( | ParameterSet & | lefthand | ) | [pure virtual] |
virtual void cqosdb::Comparator::setRHS | ( | ParameterSet & | righthand | ) | [pure virtual] |
virtual ParameterSet& cqosdb::Comparator::getLHS | ( | ) | [pure virtual] |
virtual ParameterSet& cqosdb::Comparator::getRHS | ( | ) | [pure virtual] |
virtual Parameter* cqosdb::Comparator::getLHSParameterAt | ( | string | paraName | ) | [pure virtual] |
Grab a parameter at the left hand side of comparison.
paraName | Name string of the parameter |
Implemented in cqosdb::PropertySetComparator.
virtual Parameter* cqosdb::Comparator::getRHSParameterAt | ( | string | paraName | ) | [pure virtual] |
Grab a parameter at the right hand side of comparison.
paraName | Name string of the parameter |
Implemented in cqosdb::PropertySetComparator.
virtual int cqosdb::Comparator::getDimension | ( | ) | [pure virtual] |
virtual void cqosdb::Comparator::setToleranceAt | ( | string | name, | |
double | epsilon | |||
) | [pure virtual] |
Set up comparison tolerance of a parameter.
name | Parameter name | |
epsilon | Comparison tolerance value |
Implemented in cqosdb::PropertySetComparator.
virtual double cqosdb::Comparator::getToleranceAt | ( | string | name | ) | [pure virtual] |
Get comparison tolerance value of a parameter.
name | Parameter name |
Implemented in cqosdb::PropertySetComparator.
virtual void cqosdb::Comparator::setRelationAt | ( | string | name, | |
int | aRelation | |||
) | [pure virtual] |
Set comparison relation at a parameter.
name | Parameter name | |
aRelation | Comparison relation |
Implemented in cqosdb::PropertySetComparator.
virtual int cqosdb::Comparator::getRelationAt | ( | string | name | ) | [pure virtual] |
Grab comparison relation at a parameter.
name | Parameter name |
Implemented in cqosdb::PropertySetComparator.
virtual bool cqosdb::Comparator::doCompare | ( | ) | [pure virtual] |
After setting up left, right hand side, tolerances, and comparison relation, do comparison.
Implemented in cqosdb::PropertySetComparator.