The class paceval_cListOfVariables is derived from paceval_cRegisteredObject and encapsulates the storage of a list of user variable identifiers (e.g. "x", "y", "z" or "variable_01", "variable_02" ... etc.).
More...
#include "inc/paceval_cListOfVariables.h"
The class paceval_cListOfVariables is derived from paceval_cRegisteredObject and encapsulates the storage of a list of user variable identifiers (e.g. "x", "y", "z" or "variable_01", "variable_02" ... etc.).
◆ paceval_cListOfVariables()
the constructor of paceval_cListOfVariables
- Parameters
-
| handle_CleanupHandler_in | is the associated handler for deleting this registered object |
◆ ~paceval_cListOfVariables()
| paceval_cListOfVariables::~paceval_cListOfVariables |
( |
| ) |
|
◆ addVariablesAtOnce()
| void paceval_cListOfVariables::addVariablesAtOnce |
( |
const char * | variables_in, |
|
|
unsigned long | numberOfVariables_in ) |
adds variable identifiers separated by blanks to the list in one step (annotation: if the variable identifiers all have a length of 1, the blank can be omitted)
- Parameters
-
| variables_in | specifies the string of the variable identifiers separated by blanks |
| numberOfVariables_in | specifies the number of variable identifiers |
◆ doAddVariable()
| bool paceval_cListOfVariables::doAddVariable |
( |
const char * | varable_in | ) |
|
adds a variable identifier to the list and returns whether this was successful (true) or not (false)
- Parameters
-
| varable_in | specifies the string of the variable identifier |
◆ getNumberOfVariables()
| unsigned long paceval_cListOfVariables::getNumberOfVariables |
( |
| ) |
|
gets the number of variable identifiers
◆ getVariable()
| const char * paceval_cListOfVariables::getVariable |
( |
unsigned long | position_in | ) |
|
|
private |
gets the variable identifier at a position in the list
- Parameters
-
| position_in | specifies the position in the list |
◆ identifyVariablePositionfromString()
| long paceval_cListOfVariables::identifyVariablePositionfromString |
( |
const char * | variable_in | ) |
|
identifies the position of the variable identifier via the string
◆ initializeData()
| void paceval_cListOfVariables::initializeData |
( |
unsigned long | proposedSize_in | ) |
|
initializes the size of the list
- Parameters
-
| proposedSize_in | specifies the initial size of the list |
◆ listOfPointers
the list of pointers to the variable identifier strings
The documentation for this class was generated from the following files: