This class is an implementation of the interface ConfigurationInterface.
More...
#include <file_configuration.h>
|
|
| FileConfiguration (std::string filename) |
| std::string | property (std::string property_name, std::string default_value) const override |
| bool | property (std::string property_name, bool default_value) const override |
| int64_t | property (std::string property_name, int64_t default_value) const override |
| uint64_t | property (std::string property_name, uint64_t default_value) const override |
| int32_t | property (std::string property_name, int32_t default_value) const override |
| uint32_t | property (std::string property_name, uint32_t default_value) const override |
| int16_t | property (std::string property_name, int16_t default_value) const override |
| uint16_t | property (std::string property_name, uint16_t default_value) const override |
| float | property (std::string property_name, float default_value) const override |
| double | property (std::string property_name, double default_value) const override |
| void | set_property (std::string property_name, std::string value) override |
| bool | is_present (const std::string &property_name) const override |
|
bool | has_section () const |
This class is an implementation of the interface ConfigurationInterface.
Derived from ConfigurationInterface, this class implements an interface to a configuration file. This implementation has a text file as the source for the values of the parameters. The file is in the INI format, containing sections and pairs of names and values. For more information about the INI format, see https://en.wikipedia.org/wiki/INI_file
Definition at line 48 of file file_configuration.h.
◆ is_present()
| bool FileConfiguration::is_present |
( |
const std::string & | property_name | ) |
const |
|
overridevirtual |
◆ property() [1/10]
| bool FileConfiguration::property |
( |
std::string | property_name, |
|
|
bool | default_value ) const |
|
overridevirtual |
◆ property() [2/10]
| double FileConfiguration::property |
( |
std::string | property_name, |
|
|
double | default_value ) const |
|
overridevirtual |
◆ property() [3/10]
| float FileConfiguration::property |
( |
std::string | property_name, |
|
|
float | default_value ) const |
|
overridevirtual |
◆ property() [4/10]
| int16_t FileConfiguration::property |
( |
std::string | property_name, |
|
|
int16_t | default_value ) const |
|
overridevirtual |
◆ property() [5/10]
| int32_t FileConfiguration::property |
( |
std::string | property_name, |
|
|
int32_t | default_value ) const |
|
overridevirtual |
◆ property() [6/10]
| int64_t FileConfiguration::property |
( |
std::string | property_name, |
|
|
int64_t | default_value ) const |
|
overridevirtual |
◆ property() [7/10]
| std::string FileConfiguration::property |
( |
std::string | property_name, |
|
|
std::string | default_value ) const |
|
overridevirtual |
◆ property() [8/10]
| uint16_t FileConfiguration::property |
( |
std::string | property_name, |
|
|
uint16_t | default_value ) const |
|
overridevirtual |
◆ property() [9/10]
| uint32_t FileConfiguration::property |
( |
std::string | property_name, |
|
|
uint32_t | default_value ) const |
|
overridevirtual |
◆ property() [10/10]
| uint64_t FileConfiguration::property |
( |
std::string | property_name, |
|
|
uint64_t | default_value ) const |
|
overridevirtual |
◆ set_property()
| void FileConfiguration::set_property |
( |
std::string | property_name, |
|
|
std::string | value ) |
|
overridevirtual |
The documentation for this class was generated from the following file: