![]() |
|
PhoenixFileParser
1.5.1
Set of tools to ease file parsing
|
#include "phoenix_get_string.h"
Include dependency graph for phoenix_get_string.cpp:Go to the source code of this file.
Functions | |
| bool | phoenix_convertBoolType (const PString &strConfig) |
| Convert the configuration of the cleaning type into a bool. | |
| PString | phoenix_get_nested_string (const DicoValue &dico, const PVecString &vecVarAddress) |
| Get a nested value in the DicoValue. | |
| PString | phoenix_get_string (const ConfigNode &dico, const PString &varName, const PString &defaultValue) |
| Get the string from a ConfigNode. | |
| PString | phoenix_get_string (const ConfigNode &dico, const PString &varName, const PString &defaultValue, const PString &defaultValue2) |
| Get the string from a ConfigNode. | |
| PString | phoenix_get_string (const DicoValue &dico, const PString &varName, const PString &defaultValue) |
| Get the string from a dictionnary. | |
| PString | phoenix_get_string (const DicoValue &dico, const PString &varName, const PString &defaultValue, const PString &defaultValue2) |
| Get the string from a dictionnary. | |
| template<> | |
| bool | phoenix_get_value (const ConfigNode &dico, const PString &varName, const bool &defaultValue) |
| Get the string from a ConfigNode (specialisation for bool) | |
| PVecString | phoenix_get_vecstring (const ConfigNode &dico, const PString &varName) |
| Load a vector of string from a ConfigNode. | |
| PVecString | phoenix_get_vecstring (const DicoValue &dico, const PString &varName) |
| Load a vector of string from a dictionnary. | |
| void | phoenix_get_vecstring (PVecString &vecValue, const ConfigNode &dico, const PString &varName) |
| Load a vector of string from a ConfigNode. | |
| void | phoenix_get_vecstring (PVecString &vecValue, const DicoValue &dico, const PString &varName) |
| Load a vector of string from a dictionnary. | |
| template<> | |
| bool | phoenix_load_value_from_config< bool > (const DicoValue &dico, const PString &varName, bool defaultValue) |
| Get bool value from a dictionnary (specialization for bool) | |
| template<> | |
| bool | phoenix_load_value_from_dico< bool > (bool &value, const DicoValue &dico, const PString &varName) |
| Get bool value from a dictionnary (specialization for bool) | |
| template<> | |
| bool | phoenix_save_value_to_dico< bool > (DicoValue &dico, const bool &value, const PString &varName) |
| Save the value to a dictionnary (specialization for bool) | |
| bool phoenix_convertBoolType | ( | const PString & | strConfig | ) |
Convert the configuration of the cleaning type into a bool.
| strConfig | : configuration string |
Definition at line 13 of file phoenix_get_string.cpp.
Referenced by phoenix_get_value(), phoenix_load_value_from_config< bool >(), and phoenix_load_value_from_dico< bool >().
Here is the caller graph for this function:| PString phoenix_get_nested_string | ( | const DicoValue & | dico, |
| const PVecString & | vecVarAddress ) |
Get a nested value in the DicoValue.
| dico | : dictionnary to be used |
| vecVarAddress | : vector of names to get the value |
Definition at line 135 of file phoenix_get_string.cpp.
References DicoValue::getMap(), and DicoValue::getString().
Here is the call graph for this function:| PString phoenix_get_string | ( | const ConfigNode & | dico, |
| const PString & | varName, | ||
| const PString & | defaultValue ) |
Get the string from a ConfigNode.
| dico | : ConfigNode to be used |
| varName | : name of the variable to be used |
| defaultValue | : default value |
Definition at line 167 of file phoenix_get_string.cpp.
References ConfigNode::getChild(), and ConfigNode::getString().
Here is the call graph for this function:| PString phoenix_get_string | ( | const ConfigNode & | dico, |
| const PString & | varName, | ||
| const PString & | defaultValue, | ||
| const PString & | defaultValue2 ) |
Get the string from a ConfigNode.
| dico | : ConfigNode to be used |
| varName | : name of the variable to be used |
| defaultValue | : default value |
| defaultValue2 | : default value to be used if the first defaultValue is empty |
Definition at line 183 of file phoenix_get_string.cpp.
References ConfigNode::getChild(), and ConfigNode::getString().
Here is the call graph for this function:| PString phoenix_get_string | ( | const DicoValue & | dico, |
| const PString & | varName, | ||
| const PString & | defaultValue ) |
Get the string from a dictionnary.
| dico | : dictionnary to be used |
| varName | : name of the variable to be used |
| defaultValue | : default value |
Definition at line 101 of file phoenix_get_string.cpp.
References DicoValue::getMap(), and DicoValue::getString().
Here is the call graph for this function:| PString phoenix_get_string | ( | const DicoValue & | dico, |
| const PString & | varName, | ||
| const PString & | defaultValue, | ||
| const PString & | defaultValue2 ) |
Get the string from a dictionnary.
| dico | : dictionnary to be used |
| varName | : name of the variable to be used |
| defaultValue | : default value |
| defaultValue2 | : default value to be used if the first defaultValue is empty |
Definition at line 117 of file phoenix_get_string.cpp.
References DicoValue::getMap(), and DicoValue::getString().
Here is the call graph for this function:| bool phoenix_get_value | ( | const ConfigNode & | dico, |
| const PString & | varName, | ||
| const bool & | defaultValue ) |
Get the string from a ConfigNode (specialisation for bool)
| dico | : ConfigNode to be used |
| varName | : name of the variable to be used |
| defaultValue | : default value |
Definition at line 152 of file phoenix_get_string.cpp.
References ConfigNode::getChild(), ConfigNode::getString(), and phoenix_convertBoolType().
Here is the call graph for this function:| PVecString phoenix_get_vecstring | ( | const ConfigNode & | dico, |
| const PString & | varName ) |
Load a vector of string from a ConfigNode.
| dico | : ConfigNode to be used |
| varName | : name of the variable to be used |
Definition at line 217 of file phoenix_get_string.cpp.
References phoenix_get_vecstring().
Here is the call graph for this function:| PVecString phoenix_get_vecstring | ( | const DicoValue & | dico, |
| const PString & | varName ) |
Load a vector of string from a dictionnary.
| dico | : dictionnary to be used |
| varName | : name of the variable to be used |
Definition at line 88 of file phoenix_get_string.cpp.
References phoenix_get_vecstring().
Here is the call graph for this function:| void phoenix_get_vecstring | ( | PVecString & | vecValue, |
| const ConfigNode & | dico, | ||
| const PString & | varName ) |
Load a vector of string from a ConfigNode.
| [out] | vecValue | : loaded vector of values |
| dico | : ConfigNode to be used | |
| varName | : name of the variable to be used |
Definition at line 201 of file phoenix_get_string.cpp.
References ConfigNode::getChild(), and ConfigNode::getVecChild().
Here is the call graph for this function:| void phoenix_get_vecstring | ( | PVecString & | vecValue, |
| const DicoValue & | dico, | ||
| const PString & | varName ) |
Load a vector of string from a dictionnary.
| [out] | vecValue | : loaded vector of values |
| dico | : dictionnary to be used | |
| varName | : name of the variable to be used |
Definition at line 72 of file phoenix_get_string.cpp.
References DicoValue::getMap(), and DicoValue::getVecChild().
Referenced by phoenix_get_vecstring(), and phoenix_get_vecstring().
Here is the call graph for this function:
Here is the caller graph for this function:| bool phoenix_load_value_from_config< bool > | ( | const DicoValue & | dico, |
| const PString & | varName, | ||
| bool | defaultValue ) |
Get bool value from a dictionnary (specialization for bool)
| dico | : dictionnary to be used |
| varName | : name of the variable to be used |
| defaultValue | : default value |
Definition at line 25 of file phoenix_get_string.cpp.
References DicoValue::getMap(), DicoValue::getString(), and phoenix_convertBoolType().
Here is the call graph for this function:| bool phoenix_load_value_from_dico< bool > | ( | bool & | value, |
| const DicoValue & | dico, | ||
| const PString & | varName ) |
Get bool value from a dictionnary (specialization for bool)
| [out] | value | : value to be loaded |
| dico | : dictionnary to be used | |
| varName | : name of the variable to be used | |
| defaultValue | : default value |
Definition at line 42 of file phoenix_get_string.cpp.
References DicoValue::getMap(), DicoValue::getString(), and phoenix_convertBoolType().
Here is the call graph for this function:| bool phoenix_save_value_to_dico< bool > | ( | DicoValue & | dico, |
| const bool & | value, | ||
| const PString & | varName ) |
Save the value to a dictionnary (specialization for bool)
| [out] | dico | : dictionnary to be updated |
| value | : value to be saved | |
| varName | : name of the variable to be used |
Definition at line 59 of file phoenix_get_string.cpp.
References phoenix_save_value_to_dico().
Here is the call graph for this function: