3DiVi Face SDK  3.21.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Groups
pbio::Config Class Reference

A class used to override the configuration parameters at runtime. More...

#include <Config.h>

Public Member Functions

 Config (const std::string config_filepath)
 A constructor that takes the path to a configuration file.
 
 Config (const char *const config_filepath)
 A constructor that takes the path to a configuration file.
 
ConfigoverrideParameter (const std::string parameter, const double value)
 Override the parameter value. More...
 

Detailed Description

A class used to override the configuration parameters at runtime.

Member Function Documentation

Config & pbio::Config::overrideParameter ( const std::string  parameter,
const double  value 
)
inline

Override the parameter value.

Parameters
[in]parameterParameter name (a tag name from the .xml config file).
[in]valueNew parameter value.
Returns
this