Diana
0.8.3
|
#include <CapeModel.hpp>
Public Member Functions | |
virtual Common::Types::CapeLong | GetVariable ()=0 throw (Common::Error::ECapeUnknown) |
virtual CapeLogicalRelation | GetLogicalRelation ()=0 throw (Common::Error::ECapeUnknown) |
virtual Common::Types::CapeDouble | GetValue ()=0 throw (Common::Error::ECapeUnknown) |
This is the interface which provides facilities specific to Basic Events. A Basic Event is a triplet of the form [variable, operator, value], like for example . We have defined the different numeric operators (>, <, >=, <=) as a CapeLogicalRelation in a typedef.
virtual CapeLogicalRelation GetLogicalRelation | ( | ) | throw (Common::Error::ECapeUnknown) [pure virtual] |
Gets the logical relation used in the expression of this Basic Event. This can be one of a type definition for all the supported relations (i.e. >, <, >=, <=).
virtual Common::Types::CapeDouble GetValue | ( | ) | throw (Common::Error::ECapeUnknown) [pure virtual] |
Gets the value of the real constant used in the expression of that Basic Event.
virtual Common::Types::CapeLong GetVariable | ( | ) | throw (Common::Error::ECapeUnknown) [pure virtual] |
Gets the variable used in the representation of this Basic Event.