|
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< std::optional< 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. | |
| virtual std::vector< std::string > | getAllKeys () const =0 |
| Retrieves all keys in the 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.
|
pure virtual |
Retrieves all keys in the configuration file.
Implemented in util::config::ConfigFileJson.
|
pure virtual |
Retrieves an array of configuration values.
| key | The key of the configuration array. |
Implemented in util::config::ConfigFileJson.
|
pure virtual |
Retrieves the value of configValue.
| key | The key of configuration. |
Implemented in util::config::ConfigFileJson.