This class is the environment with contains all the variable value.
More...
#include <EXPR_Environment.h>
This class is the environment with contains all the variable value.
- Author
- Stephane Despreaux
- Version
- 1.0
◆ adimensionize()
| void EXPR_Environment::adimensionize |
( |
const tReal & |
L, |
|
|
std::map< tString, tBoolean > & |
alreadyComputed |
|
) |
| |
|
inline |
adimensionize the node
- Parameters
-
| [in] | L | : the reference length |
| [out] | alreadComputed | identity of the root node whose adimenionization has already been computed |
◆ computeBoundingBox()
| void EXPR_Environment::computeBoundingBox |
( |
std::map< tString, tBoolean > & |
alreadyComputed | ) |
|
|
inline |
compute the bounding box of the node
- Parameters
-
| [out] | alreadComputed | identity of the root node whose bounding box has already been computed |
◆ getContentsMemorySize()
| virtual tMemSize EXPR_Environment::getContentsMemorySize |
( |
| ) |
const |
|
inlineoverridevirtual |
return nthe memory size of the included associations
- Returns
- the memory size of the storage in bytes 1 Kb = 1024 bytes 1 Mb = 1024 Kb 1 Gb = 1024 Mb 1 Tb = 1024 Gb 1 Hb = 1024 Tb
Reimplemented from EXPR_Object.
◆ getMemorySize()
| virtual tMemSize EXPR_Environment::getMemorySize |
( |
| ) |
const |
|
inlineoverridevirtual |
return the memory size of the class
- Returns
- the memory size of the class in bytes 1 octet = 1 byte 1 Ko = 1024 bytes 1 Mo = 1024 Ko 1 Go = 1024 Mo
Reimplemented from EXPR_Object.
◆ lookUp() [1/2]
return the value of the variable as boolean
- Parameters
-
| [in] | var | name of the variable |
- Returns
- the value of the variable false if name var does not exist
◆ lookUp() [2/2]
return the value of the variable as boolean
- Parameters
-
| [in] | var | name of the variable |
- Returns
- the value of the variable false if name var does not exist
◆ lookUpSharedPointer()
| CORE_SharedPointer<EXPR_VariableNode> EXPR_Environment::lookUpSharedPointer |
( |
const tString & |
var | ) |
const |
|
inline |
return the value of the variable as boolean
- Parameters
-
| [in] | var | name of the variable |
- Returns
- the value of the variable false if name var does not exist
◆ New()
crete the new instance of this
- Returns
- the unique pointer to this
◆ record() [1/2]
| void EXPR_Environment::record |
( |
const tString & |
varName, |
|
|
CORE_SharedPointer< EXPR_VariableNode > |
var |
|
) |
| |
|
inline |
register the data of the variable
- Parameters
-
| [in] | varName | name of the variable |
| [in,out] | var | data of the variable |
◆ record() [2/2]
| void EXPR_Environment::record |
( |
const tString & |
varName, |
|
|
CORE_UniquePointer< EXPR_VariableNode > |
var |
|
) |
| |
|
inline |
register the data of the variable
- Parameters
-
| [in] | varName | name of the variable |
| [in,out] | var | data of the variable |
◆ toString()
| virtual tString EXPR_Environment::toString |
( |
| ) |
const |
|
inlineoverridevirtual |
return the string representation of this
- Returns
- the string representation of this
Reimplemented from CORE_Object.
The documentation for this class was generated from the following file: