yaml_parser

Defined in header: <orcus/yaml_parser.hpp>

template<typename HandlerT>
class yaml_parser : public orcus::yaml::parser_base

Parser for YAML documents.

Warning

This parser is still highly experimental. Use with caution.

Template Parameters:

HandlerT – Hanlder type with member functions for event callbacks. Refer to yaml_handler.

Public Types

typedef HandlerT handler_type

Public Functions

yaml_parser(std::string_view content, handler_type &hdl)
void parse()