|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NLLOGIC::CLogicVariable Class ReferenceCLogicVariable.
More...
#include <logic_variable.h>
Inheritance diagram for NLLOGIC::CLogicVariable:
List of all members.
Detailed Description
CLogicVariable.
-
Author:
-
Stephane Coutelas , Nevrax France
-
Date:
-
2001
Definition at line 44 of file logic_variable.h.
Constructor & Destructor Documentation
NLLOGIC::CLogicVariable::CLogicVariable |
( |
|
) |
|
|
Member Function Documentation
void NLLOGIC::CLogicVariable::applyModification |
( |
std::string |
op, |
|
|
sint64 |
value |
|
) |
|
|
|
Apply modifications on a variable.
-
Parameters:
-
op |
can be one of these operators :"SET"("set"),"ADD"("add"),"SUB"("sub"),"MUL"("mul"),"DIV"("div") |
value |
is the value to use along with the modificator |
Definition at line 73 of file logic_variable.cpp.
References _Name, _Value, nlinfo, nlwarning, and sint64. |
std::string NLLOGIC::CLogicVariable::getName |
( |
|
) |
const [inline] |
|
|
Get the variable name.
-
Returns:
-
the name of the variable
Definition at line 76 of file logic_variable.h.
References _Name. |
sint64 NLLOGIC::CLogicVariable::getValue |
( |
|
) |
const [inline] |
|
void NLLOGIC::CLogicVariable::processLogic |
( |
|
) |
[virtual] |
|
void NLLOGIC::CLogicVariable::read |
( |
xmlNodePtr |
node |
) |
[virtual] |
|
void NLLOGIC::CLogicVariable::setName |
( |
std::string |
name |
) |
[inline] |
|
|
Set the variable name.
-
Parameters:
-
name |
is the name of the variable |
Definition at line 69 of file logic_variable.h.
References _Name. |
void NLLOGIC::CLogicVariable::setValue |
( |
sint64 |
value |
) |
|
|
void NLLOGIC::CLogicVariable::setVerbose |
( |
bool |
b |
) |
[inline] |
|
|
Set the verbose mode active or inactive.
-
Parameters:
-
varName |
is the name of the variable |
b |
is true to activate the verbose mode, false else |
Definition at line 98 of file logic_variable.h.
References _Verbose. |
void NLLOGIC::CLogicVariable::write |
( |
xmlNodePtr |
node |
) |
const [virtual] |
|
Member Data Documentation
std::string NLLOGIC::CLogicVariable::_Name [protected]
|
|
|
variable name.
Definition at line 52 of file logic_variable.h.
Referenced by applyModification, NLLOGIC::CLogicCounter::CLogicCounter, CLogicVariable, getName, NLLOGIC::CLogicCounter::read, read, setName, setValue, NLLOGIC::CLogicCounter::update, NLLOGIC::CLogicCounter::write, and write. |
sint64 NLLOGIC::CLogicVariable::_Value [protected]
|
|
bool NLLOGIC::CLogicVariable::_Verbose [protected]
|
|
The documentation for this class was generated from the following files:
|
|