![]() |
|
PhoenixFileParser
1.5.1
Set of tools to ease file parsing
|
Include dependency graph for phoenix_get_string_impl.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Functions | |
| template<typename T> | |
| T | phoenix_get_value (const ConfigNode &dico, const PString &varName, const T &defaultValue) |
| Get the corresponding value. | |
| template<typename T> | |
| T | phoenix_load_value_from_config (const DicoValue &dico, const PString &varName, T defaultValue) |
| Get the value from a dictionnary. | |
| template<typename T> | |
| bool | phoenix_load_value_from_dico (T &value, const DicoValue &dico, const PString &varName) |
| Get the value from a dictionnary. | |
| template<typename T> | |
| std::vector< T > | phoenix_load_vecValue (const ConfigNode &dico, const PString &varName) |
| Load a vector of value from a ConfigNode. | |
| template<typename T> | |
| void | phoenix_load_vecValue (std::vector< T > &vecValue, const ConfigNode &dico, const PString &varName) |
| Load a vector of value from a ConfigNode. | |
| template<typename T> | |
| std::vector< T > | phoenix_load_vecValue_from_config (const DicoValue &dico, const PString &varName) |
| Load a vector of value from a dictionnary. | |
| template<typename T> | |
| void | phoenix_load_vecValue_from_config (std::vector< T > &vecValue, const DicoValue &dico, const PString &varName) |
| Load a vector of value from a dictionnary. | |
| template<typename T> | |
| bool | phoenix_save_value_to_dico (DicoValue &dico, const T &value, const PString &varName) |
| Save the value to a dictionnary. | |
| T phoenix_get_value | ( | const ConfigNode & | dico, |
| const PString & | varName, | ||
| const T & | defaultValue ) |
Get the corresponding value.
| dico | : ConfigNode to be used |
| varName | : name of the variable to be used |
| defaultValue | : default value if varName is not found |
Definition at line 97 of file phoenix_get_string_impl.h.
References ConfigNode::getChild(), and ConfigNode::getString().
Here is the call graph for this function:| T phoenix_load_value_from_config | ( | const DicoValue & | dico, |
| const PString & | varName, | ||
| T | defaultValue ) |
Get the value from a dictionnary.
| dico | : dictionnary to be used |
| varName | : name of the variable to be used |
| defaultValue | : default value |
Definition at line 20 of file phoenix_get_string_impl.h.
References DicoValue::getMap(), and DicoValue::getValue().
Here is the call graph for this function:| bool phoenix_load_value_from_dico | ( | T & | value, |
| const DicoValue & | dico, | ||
| const PString & | varName ) |
Get the value from a dictionnary.
| [out] | value | : value to be loaded |
| dico | : dictionnary to be used | |
| varName | : name of the variable to be used |
Definition at line 36 of file phoenix_get_string_impl.h.
References DicoValue::getMap(), and DicoValue::getValue().
Here is the call graph for this function:| std::vector< T > phoenix_load_vecValue | ( | const ConfigNode & | dico, |
| const PString & | varName ) |
Load a vector of value from a ConfigNode.
| dico | : ConfigNode to be used |
| varName | : name of the variable to be used |
Definition at line 129 of file phoenix_get_string_impl.h.
References phoenix_load_vecValue().
Here is the call graph for this function:| void phoenix_load_vecValue | ( | std::vector< T > & | vecValue, |
| const ConfigNode & | dico, | ||
| const PString & | varName ) |
Load a vector of value 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 112 of file phoenix_get_string_impl.h.
References ConfigNode::getChild(), and ConfigNode::getVecChild().
Referenced by phoenix_load_vecValue().
Here is the call graph for this function:
Here is the caller graph for this function:| std::vector< T > phoenix_load_vecValue_from_config | ( | const DicoValue & | dico, |
| const PString & | varName ) |
Load a vector of value from a dictionnary.
| dico | : dictionnary to be used |
| varName | : name of the variable to be used |
Definition at line 84 of file phoenix_get_string_impl.h.
References phoenix_load_vecValue_from_config().
Here is the call graph for this function:| void phoenix_load_vecValue_from_config | ( | std::vector< T > & | vecValue, |
| const DicoValue & | dico, | ||
| const PString & | varName ) |
Load a vector of value 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 67 of file phoenix_get_string_impl.h.
References DicoValue::getMap(), and DicoValue::getVecChild().
Referenced by phoenix_load_vecValue_from_config().
Here is the call graph for this function:
Here is the caller graph for this function:| bool phoenix_save_value_to_dico | ( | DicoValue & | dico, |
| const T & | value, | ||
| const PString & | varName ) |
Save the value to a dictionnary.
| [out] | dico | : dictionnary to be updated |
| value | : value to be saved | |
| varName | : name of the variable to be used |
Definition at line 53 of file phoenix_get_string_impl.h.
References DicoValue::getMapChild(), DicoValue::setKey(), and DicoValue::setValue().
Referenced by phoenix_save_value_to_dico< bool >().
Here is the call graph for this function:
Here is the caller graph for this function: