# Home    # nevrax.com   
Nevrax
Nevrax.org
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
Docs
 
Documentation  
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  

NLLOGIC::CLogicComparisonBlock Class Reference

CLogicComparisonBlock. More...

#include <logic_condition.h>

List of all members.

Public Methods

 CLogicComparisonBlock ()
 Default constructor. More...

void setLogicStateMachine (CLogicStateMachine *logicStateMachine)
 Set the logic state machine. More...

bool testLogic ()
 Test the condition. More...

void write (xmlNodePtr node) const
 serial. More...

void read (xmlNodePtr node)

Public Attributes

std::string VariableName
 variable name. More...

std::string Operator
 comparison operator. More...

sint64 Comparand
 comparand. More...


Private Attributes

CLogicStateMachine_LogicStateMachine
 state machine managing this comparison block. More...


Detailed Description

CLogicComparisonBlock.

Author:
Stephane Coutelas , Nevrax France
Date:
2001

Definition at line 47 of file logic_condition.h.


Constructor & Destructor Documentation

NLLOGIC::CLogicComparisonBlock::CLogicComparisonBlock   [inline]
 

Default constructor.

Definition at line 66 of file logic_condition.h.

References _LogicStateMachine, Comparand, Operator, and VariableName.


Member Function Documentation

void NLLOGIC::CLogicComparisonBlock::read xmlNodePtr    node
 

Definition at line 107 of file logic_condition.cpp.

References Comparand, NLLOGIC::getXMLProp, Operator, VariableName, and NLLOGIC::xmlCheckNodeName.

void NLLOGIC::CLogicComparisonBlock::setLogicStateMachine CLogicStateMachine   logicStateMachine
 

Set the logic state machine.

Parameters:
logicStateMachine  is the state machine containing this block

Definition at line 43 of file logic_condition.cpp.

References _LogicStateMachine, and nlwarning.

bool NLLOGIC::CLogicComparisonBlock::testLogic  
 

Test the condition.

Returns:
true if this condition is fulfiled, false else

Definition at line 61 of file logic_condition.cpp.

References _LogicStateMachine, Comparand, nlwarning, Operator, and VariableName.

void NLLOGIC::CLogicComparisonBlock::write xmlNodePtr    node const
 

serial.

Definition at line 99 of file logic_condition.cpp.

References Operator, and VariableName.


Member Data Documentation

CLogicStateMachine* NLLOGIC::CLogicComparisonBlock::_LogicStateMachine [private]
 

state machine managing this comparison block.

Definition at line 50 of file logic_condition.h.

Referenced by CLogicComparisonBlock, setLogicStateMachine, and testLogic.

sint64 NLLOGIC::CLogicComparisonBlock::Comparand
 

comparand.

Definition at line 61 of file logic_condition.h.

Referenced by CLogicComparisonBlock, read, and testLogic.

std::string NLLOGIC::CLogicComparisonBlock::Operator
 

comparison operator.

Definition at line 58 of file logic_condition.h.

Referenced by CLogicComparisonBlock, read, testLogic, and write.

std::string NLLOGIC::CLogicComparisonBlock::VariableName
 

variable name.

Definition at line 55 of file logic_condition.h.

Referenced by CLogicComparisonBlock, read, testLogic, and write.


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