Functions | |
std::string | boostPropertyTree2JSON (const pt::ptree &tree, bool prettyOutput=true) |
Converts a Boost property tree to a JSON string. | |
pt::ptree | jSON2BoostPropertyTree (const std::string &jsonContent) |
Converts a JSON string to a Boost property tree. | |
std::string | boostPropertyTree2INI (const pt::ptree &tree, bool prettyOutput=true) |
Converts a Boost property tree to an INI string. | |
pt::ptree | INI2BoostPropertyTree (const std::string &iniContent) |
Converts an INI string to a Boost property tree. | |
std::string SystemTools::Persistence::boostPropertyTree2INI | ( | const pt::ptree & | tree, |
bool | prettyOutput = true |
||
) |
Converts a Boost property tree to an INI string.
tree | The property tree. |
prettyOutput | Whether to format the output prettily. |
std::string SystemTools::Persistence::boostPropertyTree2JSON | ( | const pt::ptree & | tree, |
bool | prettyOutput = true |
||
) |
Converts a Boost property tree to a JSON string.
tree | The property tree. |
prettyOutput | Whether to format the output prettily. |
pt::ptree SystemTools::Persistence::INI2BoostPropertyTree | ( | const std::string & | iniContent | ) |
Converts an INI string to a Boost property tree.
iniContent | The INI string. |
pt::ptree SystemTools::Persistence::jSON2BoostPropertyTree | ( | const std::string & | jsonContent | ) |
Converts a JSON string to a Boost property tree.
jsonContent | The JSON string. |