Orcus
Public Member Functions | List of all members
yaml_parser_handler Class Reference

Public Member Functions

void begin_parse ()
 
void end_parse ()
 
void begin_document ()
 
void end_document ()
 
void begin_sequence ()
 
void end_sequence ()
 
void begin_map ()
 
void begin_map_key ()
 
void end_map_key ()
 
void end_map ()
 
void string (const char *p, size_t n)
 
void number (double val)
 
void boolean_true ()
 
void boolean_false ()
 
void null ()
 

Member Function Documentation

◆ begin_document()

void yaml_parser_handler::begin_document ( )
inline

Called when a new document is encountered.

◆ begin_map()

void yaml_parser_handler::begin_map ( )
inline

Called when a map begins.

◆ begin_map_key()

void yaml_parser_handler::begin_map_key ( )
inline

Called when the parser starts parsing a map key.

◆ begin_parse()

void yaml_parser_handler::begin_parse ( )
inline

Called when the parser starts parsing a content.

◆ begin_sequence()

void yaml_parser_handler::begin_sequence ( )
inline

Called when a sequence begins.

◆ boolean_false()

void yaml_parser_handler::boolean_false ( )
inline

Called when a boolean 'false' keyword is encountered.

◆ boolean_true()

void yaml_parser_handler::boolean_true ( )
inline

Called when a boolean 'true' keyword is encountered.

◆ end_document()

void yaml_parser_handler::end_document ( )
inline

Called when the parser has finished parsing a document.

◆ end_map()

void yaml_parser_handler::end_map ( )
inline

Called when the parser finishes parsing an entire map.

◆ end_map_key()

void yaml_parser_handler::end_map_key ( )
inline

Called when the parser finishes parsing a map key.

◆ end_parse()

void yaml_parser_handler::end_parse ( )
inline

Called when the parser finishes parsing an entire content.

◆ end_sequence()

void yaml_parser_handler::end_sequence ( )
inline

Called when a sequence ends.

◆ null()

void yaml_parser_handler::null ( )
inline

Called when a 'null' keyword is encountered.

◆ number()

void yaml_parser_handler::number ( double  val)
inline

Called when a numeric value is encountered.

Parameters
valnumeric value.

◆ string()

void yaml_parser_handler::string ( const char *  p,
size_t  n 
)
inline

Called when a string value is encountered.

Parameters
ppointer to the first character of the string value.
lenlength of the string value.