From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- .../classNLLOGIC_1_1CLogicConditionLogicBlock.html | 529 +++++++++++++++++++++ 1 file changed, 529 insertions(+) create mode 100644 docs/doxygen/nel/classNLLOGIC_1_1CLogicConditionLogicBlock.html (limited to 'docs/doxygen/nel/classNLLOGIC_1_1CLogicConditionLogicBlock.html') diff --git a/docs/doxygen/nel/classNLLOGIC_1_1CLogicConditionLogicBlock.html b/docs/doxygen/nel/classNLLOGIC_1_1CLogicConditionLogicBlock.html new file mode 100644 index 00000000..7560798b --- /dev/null +++ b/docs/doxygen/nel/classNLLOGIC_1_1CLogicConditionLogicBlock.html @@ -0,0 +1,529 @@ + + + + nevrax.org : docs + + + + + + + + + + + + + + +
# 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::CLogicConditionLogicBlock Class Reference

CLogicConditionLogicBlock. +More... +

+#include <logic_condition.h> +

+List of all members. + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Types

enum  TLogicConditionLogicBlockType { NOT = 0, +COMPARISON, +SUB_CONDITION + }
 all condition logic block types. More...


Public Methods

 CLogicConditionLogicBlock ()
 Default constructor. More...

bool isNotBlock () const
 Return info about the type of the block. More...

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

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

void fillVarSet (std::set< std::string > &condVars)
 Fill a set with all the variables name referenced by this condition. More...

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

void read (xmlNodePtr node)

Public Attributes

TLogicConditionLogicBlockType Type
 type of this condition block. More...

std::string SubCondition
 name of the sub-condition. More...

CLogicComparisonBlock ComparisonBlock
 comparison block. More...


Private Attributes

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

+


Detailed Description

+CLogicConditionLogicBlock. +

+

+Author:
+Stephane Coutelas , Nevrax France
+Date:
+2001
+

+ +

+Definition at line 108 of file logic_condition.h.


Member Enumeration Documentation

+

+ + + + +
+ + +
enum NLLOGIC::CLogicConditionLogicBlock::TLogicConditionLogicBlockType +
+
+ + + + + +
+   + + +

+all condition logic block types. +

+

+Enumeration values:
+ + + + +
NOT  +
COMPARISON  +
SUB_CONDITION  +
+
+ +

+Definition at line 116 of file logic_condition.h.

+


Constructor & Destructor Documentation

+

+ + + + +
+ + + + + + + + + +
NLLOGIC::CLogicConditionLogicBlock::CLogicConditionLogicBlock   [inline]
+
+ + + + + +
+   + + +

+Default constructor. +

+ +

+Definition at line 135 of file logic_condition.h. +

+References SUB_CONDITION, SubCondition, and Type.

+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + + +
void NLLOGIC::CLogicConditionLogicBlock::fillVarSet std::set< std::string > &   condVars
+
+ + + + + +
+   + + +

+Fill a set with all the variables name referenced by this condition. +

+

+Parameters:
+ + +
condVars  +a set to store the variable names
+
+

+ + + + +
+ + + + + + + + + +
bool NLLOGIC::CLogicConditionLogicBlock::isNotBlock   const [inline]
+
+ + + + + +
+   + + +

+Return info about the type of the block. +

+

+Returns:
+true if this block is a NOT block
+

+Definition at line 146 of file logic_condition.h. +

+References NOT, and Type.

+

+ + + + +
+ + + + + + + + + + +
void NLLOGIC::CLogicConditionLogicBlock::read xmlNodePtr   node
+
+ + + + + +
+   + + +

+ +

+Definition at line 265 of file logic_condition.cpp. +

+References COMPARISON, ComparisonBlock, NLLOGIC::getXMLProp, NOT, SUB_CONDITION, SubCondition, Type, and NLLOGIC::xmlCheckNodeName.

+

+ + + + +
+ + + + + + + + + + +
void NLLOGIC::CLogicConditionLogicBlock::setLogicStateMachine CLogicStateMachine  logicStateMachine
+
+ + + + + +
+   + + +

+Set the logic state machine. +

+

+Parameters:
+ + +
logicStateMachine  +is the state machine containing this block
+
+

+Definition at line 126 of file logic_condition.cpp. +

+References _LogicStateMachine, ComparisonBlock, and nlwarning.

+

+ + + + +
+ + + + + + + + + +
bool NLLOGIC::CLogicConditionLogicBlock::testLogic  
+
+ + + + + +
+   + + +

+Test the condition. +

+

+Returns:
+true if this condition is fulfiled, false else
+

+Definition at line 148 of file logic_condition.cpp. +

+References _LogicStateMachine, COMPARISON, ComparisonBlock, condition, nlerror, nlwarning, NOT, SUB_CONDITION, SubCondition, and Type.

+

+ + + + +
+ + + + + + + + + + +
void NLLOGIC::CLogicConditionLogicBlock::write xmlNodePtr   node const
+
+ + + + + +
+   + + +

+serial. +

+ +

+Definition at line 243 of file logic_condition.cpp. +

+References COMPARISON, ComparisonBlock, NOT, SUB_CONDITION, and SubCondition.

+


Member Data Documentation

+

+ + + + +
+ + +
CLogicStateMachine* NLLOGIC::CLogicConditionLogicBlock::_LogicStateMachine [private] +
+
+ + + + + +
+   + + +

+state machine managing this logic block. +

+ +

+Definition at line 111 of file logic_condition.h. +

+Referenced by setLogicStateMachine, and testLogic.

+

+ + + + +
+ + +
CLogicComparisonBlock NLLOGIC::CLogicConditionLogicBlock::ComparisonBlock +
+
+ + + + + +
+   + + +

+comparison block. +

+ +

+Definition at line 130 of file logic_condition.h. +

+Referenced by read, setLogicStateMachine, testLogic, and write.

+

+ + + + +
+ + +
std::string NLLOGIC::CLogicConditionLogicBlock::SubCondition +
+
+ + + + + +
+   + + +

+name of the sub-condition. +

+ +

+Definition at line 127 of file logic_condition.h. +

+Referenced by CLogicConditionLogicBlock, read, testLogic, and write.

+

+ + + + +
+ + +
TLogicConditionLogicBlockType NLLOGIC::CLogicConditionLogicBlock::Type +
+
+ + + + + +
+   + + +

+type of this condition block. +

+ +

+Definition at line 124 of file logic_condition.h. +

+Referenced by CLogicConditionLogicBlock, isNotBlock, read, and testLogic.

+


The documentation for this class was generated from the following files: + + + +
                                                                                                                                                                    +
+ + -- cgit v1.2.1