|
ROSE
0.11.96.11
|
YAML parser and unparser.
Classes | |
| class | ConstIterator |
| Iterator over constant YAML nodes. More... | |
| class | Exception |
| Base class for YAML exceptions. More... | |
| class | InternalException |
| Internal exception. More... | |
| class | Iterator |
| Iterator over YAML nodes. More... | |
| class | Node |
| YAML node. More... | |
| class | OperationException |
| Operation exception. More... | |
| class | ParsingException |
| Parsing exception. More... | |
| struct | SerializeConfig |
| Serialization configuration structure, describing output behavior. More... | |
Functions | |
| void | Parse (Node &root, const boost::filesystem::path &) |
| void | Parse (Node &root, std::iostream &) |
| void | Parse (Node &root, const std::string &data) |
| void | Parse (Node &root, const char *data, const size_t size) |
| void | parse (Node &root, const boost::filesystem::path &) |
| Parse YAML from file into node. | |
| void | parse (Node &root, std::iostream &) |
| Parse YAML from stream into node. | |
| void Rose::Yaml::Serialize | ( | const Node & | root, |
| const char * | filename, | ||
| const SerializeConfig & | config = {2, 64, false, false} |
||
| ) |
Serialize YAML.
| root | Root node to serialize. |
| filename | Path of output file. |
| stream | Output stream. |
| string | String of output data. |
| config | Serialization configurations. |
| InternalException | An internal error occurred. |
| OperationException | If filename or buffer pointer is invalid. If config is invalid. |
| void Rose::Yaml::Serialize | ( | const Node & | root, |
| std::iostream & | stream, | ||
| const SerializeConfig & | config = {2, 64, false, false} |
||
| ) |
Serialize YAML.
| root | Root node to serialize. |
| filename | Path of output file. |
| stream | Output stream. |
| string | String of output data. |
| config | Serialization configurations. |
| InternalException | An internal error occurred. |
| OperationException | If filename or buffer pointer is invalid. If config is invalid. |
| void Rose::Yaml::Serialize | ( | const Node & | root, |
| std::string & | string, | ||
| const SerializeConfig & | config = {2, 64, false, false} |
||
| ) |
Serialize YAML.
| root | Root node to serialize. |
| filename | Path of output file. |
| stream | Output stream. |
| string | String of output data. |
| config | Serialization configurations. |
| InternalException | An internal error occurred. |
| OperationException | If filename or buffer pointer is invalid. If config is invalid. |
1.8.17