orcus::yaml_parser¶Inherits from orcus::yaml::parser_base
Public Types
handler_type¶yaml_parser_handler¶Public Functions
begin_parse()¶Called when the parser starts parsing a content.
end_parse()¶Called when the parser finishes parsing an entire content.
begin_document()¶Called when a new document is encountered.
end_document()¶Called when the parser has finished parsing a document.
begin_sequence()¶Called when a sequence begins.
end_sequence()¶Called when a sequence ends.
begin_map()¶Called when a map begins.
begin_map_key()¶Called when the parser starts parsing a map key.
end_map_key()¶Called when the parser finishes parsing a map key.
end_map()¶Called when the parser finishes parsing an entire map.
string(const char *p, size_t n)¶Called when a string value is encountered.
p: pointer to the first character of the string value. len: length of the string value. number(double val)¶Called when a numeric value is encountered.
val: numeric value. boolean_true()¶Called when a boolean ‘true’ keyword is encountered.
boolean_false()¶Called when a boolean ‘false’ keyword is encountered.
null()¶Called when a ‘null’ keyword is encountered.