7#ifndef __VEC_VALUE_UTILS_H__
8#define __VEC_VALUE_UTILS_H__
Vector of keys and values.
void vecValueToDicoValue(DicoValue &dicoValue, const VecValue &vecVal, bool isMainValue=true)
Convert a VecValue into a DicoValue.
VecValue * getParentVecValue(VecValue &vecAllVal, const std::vector< size_t > &vecIndentation, size_t currentIndentation)
Get the parent VecValue by respect to its indentation.
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 * getLastVecValue(VecValue &vecVal, size_t depth=-1lu)
Get the last VecValue added at the specified depth.
VecValue * getParentVecValueListItem(VecValue &vecAllVal, const std::vector< size_t > &vecIndentation, size_t currentIndentation)
std::vector< VecValue > VecVecValue
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.