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

CLogicConditionNode. +More... +

+#include <logic_condition.h> +

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

Public Types

enum  TConditionNodeType { TERMINATOR = 0, +LOGIC_NODE + }
 all condition node types. More...


Public Methods

 CLogicConditionNode ()
 Default constructor. More...

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

void addNode (CLogicConditionNode *node)
 add a node in the subtree. 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...

 ~CLogicConditionNode ()
 Destructor. More...

void write (xmlNodePtr node) const
void read (xmlNodePtr node)

Public Attributes

TConditionNodeType Type
 type of this condition node. More...

CLogicConditionLogicBlock LogicBlock
 condition logic node. More...

std::vector< CLogicConditionNode * > _Nodes
 condition nodes. More...


Private Attributes

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

+


Detailed Description

+CLogicConditionNode. +

+

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

+ +

+Definition at line 187 of file logic_condition.h.


Member Enumeration Documentation

+

+ + + + +
+ + +
enum NLLOGIC::CLogicConditionNode::TConditionNodeType +
+
+ + + + + +
+   + + +

+all condition node types. +

+

+Enumeration values:
+ + + +
TERMINATOR  +
LOGIC_NODE  +
+
+ +

+Definition at line 195 of file logic_condition.h.

+


Constructor & Destructor Documentation

+

+ + + + +
+ + + + + + + + + +
NLLOGIC::CLogicConditionNode::CLogicConditionNode   [inline]
+
+ + + + + +
+   + + +

+Default constructor. +

+ +

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

+References _LogicStateMachine, TERMINATOR, and Type. +

+Referenced by read.

+

+ + + + +
+ + + + + + + + + +
NLLOGIC::CLogicConditionNode::~CLogicConditionNode  
+
+ + + + + +
+   + + +

+Destructor. +

+ +

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

+References _Nodes.

+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + + +
void NLLOGIC::CLogicConditionNode::addNode CLogicConditionNode *   node
+
+ + + + + +
+   + + +

+add a node in the subtree. +

+

+Parameters:
+ + +
node  +is the new node to add
+
+

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

+References _LogicStateMachine, and _Nodes.

+

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

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

+

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

+ + + + +
+ + + + + + + + + + +
void NLLOGIC::CLogicConditionNode::read xmlNodePtr   node
+
+ + + + + +
+   + + +

+ +

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

+References _Nodes, CLogicConditionNode, NLLOGIC::getXMLProp, LOGIC_NODE, LogicBlock, TERMINATOR, Type, v, and NLLOGIC::xmlCheckNodeName.

+

+ + + + +
+ + + + + + + + + + +
void NLLOGIC::CLogicConditionNode::setLogicStateMachine CLogicStateMachine  logicStateMachine
+
+ + + + + +
+   + + +

+Set the logic state machine. +

+

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

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

+References _LogicStateMachine, _Nodes, LogicBlock, and nlwarning.

+

+ + + + +
+ + + + + + + + + +
bool NLLOGIC::CLogicConditionNode::testLogic  
+
+ + + + + +
+   + + +

+Test the condition. +

+

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

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

+References _Nodes, and LogicBlock.

+

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

+ +

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

+References _Nodes, LOGIC_NODE, LogicBlock, and TERMINATOR.

+


Member Data Documentation

+

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

+state machine managing this logic block. +

+ +

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

+Referenced by addNode, CLogicConditionNode, and setLogicStateMachine.

+

+ + + + +
+ + +
std::vector<CLogicConditionNode *> NLLOGIC::CLogicConditionNode::_Nodes +
+
+ + + + + +
+   + + +

+condition nodes. +

+ +

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

+Referenced by addNode, read, setLogicStateMachine, testLogic, write, and ~CLogicConditionNode.

+

+ + + + +
+ + +
CLogicConditionLogicBlock NLLOGIC::CLogicConditionNode::LogicBlock +
+
+ + + + + +
+   + + +

+condition logic node. +

+ +

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

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

+

+ + + + +
+ + +
TConditionNodeType NLLOGIC::CLogicConditionNode::Type +
+
+ + + + + +
+   + + +

+type of this condition node. +

+ +

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

+Referenced by CLogicConditionNode, and read.

+


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