![]() |
|
PhoenixYml
1.2.2
Yml parser for Phoenix
|
Include dependency graph for vec_value_utils.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Typedefs | |
| typedef std::vector< VecValue > | VecVecValue |
Functions | |
| VecValue * | addChildToParentVecValue (VecValue &mainVecValue, const std::vector< size_t > &vecIndentation, bool isCompactMode, const VecValue &child, size_t currentIndentation=-1lu) |
| Add the given child to the main VecValue and return a pointer to the added child. | |
| VecValue * | addChildToParentVecValueAddListItem (VecValue &mainVecValue, const std::vector< size_t > &vecIndentation, bool isCompactMode, const VecValue &child, size_t currentIndentation=-1lu) |
| Add the given child to the main VecValue and return a pointer to the added child. | |
| VecValue * | getLastVecValue (VecValue &vecVal, size_t depth=-1lu) |
| Get the last VecValue added at the specified depth. | |
| VecValue * | getParentVecValue (VecValue &vecAllVal, const std::vector< size_t > &vecIndentation, size_t currentIndentation) |
| Get the parent VecValue by respect to its indentation. | |
| VecValue * | getParentVecValueListItem (VecValue &vecAllVal, const std::vector< size_t > &vecIndentation, size_t currentIndentation) |
| void | vecValueToConfigNode (ConfigNode &dicoValue, const VecValue &vecVal, bool isMainValue=true) |
| Convert a VecValue into a ConfigNode. | |
| void | vecValueToDicoValue (DicoValue &dicoValue, const VecValue &vecVal, bool isMainValue=true) |
| Convert a VecValue into a DicoValue. | |
| typedef std::vector<VecValue> VecVecValue |
Definition at line 15 of file vec_value_utils.h.
| VecValue * addChildToParentVecValue | ( | VecValue & | mainVecValue, |
| const std::vector< size_t > & | vecIndentation, | ||
| bool | isCompactMode, | ||
| const VecValue & | child, | ||
| size_t | currentIndentation ) |
Add the given child to the main VecValue and return a pointer to the added child.
| [out] | mainVecValue | : main VecValue to be used |
| vecIndentation | : vector of the last indentation of the children VecValue | |
| isCompactMode | : true if the compact mode is enabled, false otherwise | |
| child | : child VecValue to be added to the main VecValue | |
| currentIndentation | : indentation of the current VecValue |
Definition at line 110 of file vec_value_utils.cpp.
References getLastVecValue(), getParentVecValue(), and VecValue::getVecChild().
Referenced by parse_yml_dicoContent().
Here is the call graph for this function:
Here is the caller graph for this function:| VecValue * addChildToParentVecValueAddListItem | ( | VecValue & | mainVecValue, |
| const std::vector< size_t > & | vecIndentation, | ||
| bool | isCompactMode, | ||
| const VecValue & | child, | ||
| size_t | currentIndentation ) |
Add the given child to the main VecValue and return a pointer to the added child.
| [out] | mainVecValue | : main VecValue to be used |
| vecIndentation | : vector of the last indentation of the children VecValue | |
| isCompactMode | : true if the compact mode is enabled, false otherwise | |
| child | : child VecValue to be added to the main VecValue | |
| currentIndentation | : indentation of the current VecValue |
Definition at line 133 of file vec_value_utils.cpp.
References getLastVecValue(), getParentVecValueListItem(), and VecValue::getVecChild().
Referenced by parse_yml_listContent().
Here is the call graph for this function:
Here is the caller graph for this function:Get the last VecValue added at the specified depth.
Definition at line 15 of file vec_value_utils.cpp.
References getLastVecValue(), and VecValue::getVecChild().
Referenced by addChildToParentVecValue(), addChildToParentVecValueAddListItem(), getLastVecValue(), getParentVecValue(), and getParentVecValueListItem().
Here is the call graph for this function:
Here is the caller graph for this function:| VecValue * getParentVecValue | ( | VecValue & | vecAllVal, |
| const std::vector< size_t > & | vecIndentation, | ||
| size_t | currentIndentation ) |
Get the parent VecValue by respect to its indentation.
| [out] | vecAllVal | : main VecValue |
| vecIndentation | : vector of the last indentation of the children VecValue | |
| currentIndentation | : indentation of the current VecValue |
Definition at line 27 of file vec_value_utils.cpp.
References getLastVecValue().
Referenced by addChildToParentVecValue().
Here is the call graph for this function:
Here is the caller graph for this function:| VecValue * getParentVecValueListItem | ( | VecValue & | vecAllVal, |
| const std::vector< size_t > & | vecIndentation, | ||
| size_t | currentIndentation ) |
| void vecValueToConfigNode | ( | ConfigNode & | dicoValue, |
| const VecValue & | vecVal, | ||
| bool | isMainValue ) |
Convert a VecValue into a ConfigNode.
| [out] | dicoValue | : converted ConfigNode |
| vecVal | : vector of value | |
| isMainValue | : true if the VecValue is the main one |
Definition at line 197 of file vec_value_utils.cpp.
References VecValue::getKey(), VecValue::getValue(), VecValue::getVecChild(), and vecValueToConfigNode().
Referenced by parser_yml(), parser_ymlString(), and vecValueToConfigNode().
Here is the call graph for this function:
Here is the caller graph for this function:| void vecValueToDicoValue | ( | DicoValue & | dicoValue, |
| const VecValue & | vecVal, | ||
| bool | isMainValue ) |
Convert a VecValue into a DicoValue.
| [out] | dicoValue | : converted DicoValue |
| vecVal | : vector of value | |
| isMainValue | : true if the VecValue is the main one |
Definition at line 153 of file vec_value_utils.cpp.
References VecValue::getKey(), VecValue::getValue(), VecValue::getVecChild(), and vecValueToDicoValue().
Referenced by parser_yml(), and vecValueToDicoValue().
Here is the call graph for this function:
Here is the caller graph for this function: