Clio develop
The XRP Ledger API server.
|
The interface for configuration files. More...
#include <ConfigFileInterface.hpp>
Public Member Functions | |
virtual Value | getValue (std::string_view key) const =0 |
Retrieves the value of configValue. | |
virtual std::vector< Value > | getArray (std::string_view key) const =0 |
Retrieves an array of configuration values. | |
virtual bool | containsKey (std::string_view key) const =0 |
Checks if key exist in configuration file. | |
The interface for configuration files.
This class defines the interface for handling configuration files, which can be implemented for different formats such as JSON or YAML.
|
pure virtual |
Checks if key exist in configuration file.
key | The key to search for. |
Implemented in util::config::ConfigFileJson, and util::config::ConfigFileYaml.
|
pure virtual |
Retrieves an array of configuration values.
key | The key of the configuration array. |
Implemented in util::config::ConfigFileJson, and util::config::ConfigFileYaml.
|
pure virtual |
Retrieves the value of configValue.
key | The key of configuration. |
Implemented in util::config::ConfigFileJson, and util::config::ConfigFileYaml.