openModeller  Version 1.4.0
DummyRule Class Reference
Inheritance diagram for DummyRule:
Collaboration diagram for DummyRule:

List of all members.

Public Member Functions

 DummyRule (int id=-1)
GarpRuleobjFactory () const
int getStrength (const Sample &) const
double getValue (const Sample &) const
bool applies (const Sample &) const
int getId ()
void setPerformance (PerfIndex index, double newPerf)

Private Attributes

int _id

Detailed Description

Definition at line 35 of file test_ruleset.cpp.


Constructor & Destructor Documentation

DummyRule::DummyRule ( int  id = -1)

Definition at line 51 of file test_ruleset.cpp.

References _id.

Referenced by objFactory().


Member Function Documentation

bool DummyRule::applies ( const Sample ) const [inline, virtual]

Implements GarpRule.

Definition at line 42 of file test_ruleset.cpp.

int DummyRule::getId ( ) [inline]

Definition at line 44 of file test_ruleset.cpp.

References _id.

int DummyRule::getStrength ( const Sample ) const [inline, virtual]

Implements GarpRule.

Definition at line 40 of file test_ruleset.cpp.

double DummyRule::getValue ( const Sample ) const [inline]

Definition at line 41 of file test_ruleset.cpp.

GarpRule* DummyRule::objFactory ( ) const [inline, virtual]

Implements GarpRule.

Definition at line 39 of file test_ruleset.cpp.

References DummyRule().

Here is the call graph for this function:

void DummyRule::setPerformance ( PerfIndex  index,
double  newPerf 
) [inline]

Definition at line 45 of file test_ruleset.cpp.

References GarpRule::_performance.

Referenced by TEST().


Member Data Documentation

int DummyRule::_id [private]

Definition at line 48 of file test_ruleset.cpp.

Referenced by DummyRule(), and getId().


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