Bridge++  Version 1.5.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ParameterManager_YAML Class Reference

Parameter manager with YAML parser. More...

#include <parameterManager_YAML.h>

Inheritance diagram for ParameterManager_YAML:
ParameterManager

Public Member Functions

 ParameterManager_YAML ()
 
void read_params (const std::string &params_file, Parameters &params)
 read parameters from file. More...
 
void read_params (std::istream &, Parameters &params)
 read parameters from input stream. More...
 
- Public Member Functions inherited from ParameterManager
 ParameterManager ()
 
virtual ~ParameterManager ()
 
void set_parameter_verboselevel (const Bridge::VerboseLevel vl)
 

Static Public Attributes

static const std::string class_name = "ParameterManager_YAML"
 
- Static Public Attributes inherited from ParameterManager
static const std::string class_name = "ParameterManager"
 

Additional Inherited Members

- Static Public Member Functions inherited from ParameterManager
static void read (const std::string &params_file, Parameters &params)
 
static Parameters read (const std::string &params_file)
 
- Protected Attributes inherited from ParameterManager
Bridge::VerboseLevel m_vl
 

Detailed Description

Parameter manager with YAML parser.

This is a simple parser to read parameters from a file prepared with YAML format. Only simple cases were checked. [17 Jul 2012 H.Matsufuru]

Definition at line 28 of file parameterManager_YAML.h.

Constructor & Destructor Documentation

ParameterManager_YAML::ParameterManager_YAML ( )
inline

Definition at line 33 of file parameterManager_YAML.h.

Member Function Documentation

void ParameterManager_YAML::read_params ( const std::string &  params_file,
Parameters params 
)
virtual

read parameters from file.

Implements ParameterManager.

Definition at line 528 of file parameterManager_YAML.cpp.

void ParameterManager_YAML::read_params ( std::istream &  fin,
Parameters params 
)

read parameters from input stream.

Definition at line 517 of file parameterManager_YAML.cpp.

Member Data Documentation

const std::string ParameterManager_YAML::class_name = "ParameterManager_YAML"
static

Definition at line 31 of file parameterManager_YAML.h.


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