Scarab  v1.6.2
Project 8 C++ Utility Library
Public Member Functions | List of all members
param_output_yaml Class Reference

Convert YAMl to JSON. More...

#include <param_yaml.hh>

Inheritance diagram for param_output_yaml:
Inheritance graph

Public Member Functions

 param_output_yaml ()
 
virtual ~param_output_yaml ()
 
virtual bool write_file (const param &a_to_write, const std::string &a_filename, const param_node *a_options=nullptr)
 
virtual bool write_string (const param &a_to_write, std::string &a_string, const param_node *a_options=nullptr)
 
YAML::Node check_param_type (const param &a_to_write)
 
YAML::Node param_node_handler (const param &a_to_write)
 
YAML::Node param_array_handler (const param &a_to_write)
 
YAML::Node param_value_handler (const param &a_to_write)
 
- Public Member Functions inherited from param_output_codec
 param_output_codec ()
 
virtual ~param_output_codec ()
 

Detailed Description

Convert YAMl to JSON.

Author
N.S. Oblath

Options: None

Definition at line 62 of file param_yaml.hh.

Constructor & Destructor Documentation

Definition at line 149 of file param_yaml.cc.

~param_output_yaml ( )
virtual

Definition at line 152 of file param_yaml.cc.

Member Function Documentation

YAML::Node check_param_type ( const param a_to_write)

Definition at line 191 of file param_yaml.cc.

YAML::Node param_array_handler ( const param a_to_write)

Definition at line 226 of file param_yaml.cc.

YAML::Node param_node_handler ( const param a_to_write)

Definition at line 213 of file param_yaml.cc.

YAML::Node param_value_handler ( const param a_to_write)

Definition at line 239 of file param_yaml.cc.

bool write_file ( const param a_to_write,
const std::string &  a_filename,
const param_node a_options = nullptr 
)
virtual

Implements param_output_codec.

Definition at line 155 of file param_yaml.cc.

bool write_string ( const param a_to_write,
std::string &  a_string,
const param_node a_options = nullptr 
)
virtual

Implements param_output_codec.

Definition at line 180 of file param_yaml.cc.


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