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

Parameter manager with YAML parser. More...

#include <parameterManager_XML.h>

Inheritance diagram for ParameterManager_XML:
ParameterManager

Public Member Functions

 ParameterManager_XML ()
 
void read_params (const std::string &params_file, Parameters &params)
 read parameters from file. 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_XML"
 
- 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]

read and set parameters from XML file, using tinyxml-2 parser. [16 Mar 2015 T.Aoyama]

Definition at line 32 of file parameterManager_XML.h.

Constructor & Destructor Documentation

ParameterManager_XML::ParameterManager_XML ( )
inline

Definition at line 37 of file parameterManager_XML.h.

Member Function Documentation

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

read parameters from file.

Implements ParameterManager.

Definition at line 253 of file parameterManager_XML.cpp.

Member Data Documentation

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

Definition at line 35 of file parameterManager_XML.h.


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