Scarab  v2.0.0
Project 8 C++ Utility Library
Public Member Functions | List of all members
param_input_yaml Class Reference

Convert YAML to Param. More...

#include <param_yaml.hh>

Inheritance diagram for param_input_yaml:
Inheritance graph

Public Member Functions

 param_input_yaml ()
 
virtual ~param_input_yaml ()
 
virtual paramread_file (const std::string &a_filename, const param_node *a_options=nullptr)
 
virtual paramread_string (const std::string &a_json_str, const param_node *a_options=nullptr)
 
paramread_node_type (const YAML::Node &a_node)
 
param_arraysequence_handler (const YAML::Node &a_node)
 
param_nodemap_handler (const YAML::Node &a_node)
 
param_valuescalar_handler (const YAML::Node &a_node)
 
- Public Member Functions inherited from param_input_codec
 param_input_codec ()
 
virtual ~param_input_codec ()
 

Detailed Description

Convert YAML to Param.

Author
N.S. Oblath

Options: None

Definition at line 34 of file param_yaml.hh.

Constructor & Destructor Documentation

Definition at line 27 of file param_yaml.cc.

~param_input_yaml ( )
virtual

Definition at line 30 of file param_yaml.cc.

Member Function Documentation

param_node * map_handler ( const YAML::Node &  a_node)

Definition at line 112 of file param_yaml.cc.

param * read_file ( const std::string &  a_filename,
const param_node a_options = nullptr 
)
virtual

Implements param_input_codec.

Definition at line 33 of file param_yaml.cc.

param * read_node_type ( const YAML::Node &  a_node)

Definition at line 61 of file param_yaml.cc.

param * read_string ( const std::string &  a_json_str,
const param_node a_options = nullptr 
)
virtual

Implements param_input_codec.

Definition at line 47 of file param_yaml.cc.

param_value * scalar_handler ( const YAML::Node &  a_node)

Definition at line 132 of file param_yaml.cc.

param_array * sequence_handler ( const YAML::Node &  a_node)

Definition at line 92 of file param_yaml.cc.


The documentation for this class was generated from the following files: