Пример #1
0
/**
 * @brief Write value to element under parent node.
 * @param aRoot
 * @param aElement
 * @param aValue
 */
void Parser::Place(std::string const &aRoot, std::string const &aElement, std::string const &aValue)
{
  Root* newNodes = SetUpTree(mDictionary, HashString(aRoot).Split("/"));
  Root* newRoot = SetUpTree(newNodes, HashString(aElement).Split("/"));
  newRoot->SetValue(aValue);
}