|
Porytiles
|
Interface that defines a complete app layer configuration. More...
#include <app_config.hpp>
Public Member Functions | |
| virtual | ~AppConfig ()=default |
| virtual void | add_provider (std::unique_ptr< ConfigProvider > provider)=0 |
Prepends a ConfigProvider to the provider chain at highest priority. | |
| ChainableResult< ConfigValue< bool > > | verify_checksums (ConfigScopeType type, const std::string &scope) const |
| ChainableResult< ConfigValue< PrimaryPairingMode > > | primary_pairing_mode (ConfigScopeType type, const std::string &scope) const |
| ChainableResult< ConfigValue< std::vector< std::string > > > | primary_pairing_partners (ConfigScopeType type, const std::string &scope) const |
| ChainableResult< ConfigValue< std::vector< std::string > > > | diagnostic_warnings_exclude (ConfigScopeType type, const std::string &scope) const |
| ChainableResult< ConfigValue< std::vector< std::string > > > | diagnostic_warnings_include (ConfigScopeType type, const std::string &scope) const |
| ChainableResult< ConfigValue< std::vector< std::string > > > | diagnostic_remarks_exclude (ConfigScopeType type, const std::string &scope) const |
| ChainableResult< ConfigValue< std::vector< std::string > > > | diagnostic_remarks_include (ConfigScopeType type, const std::string &scope) const |
Protected Member Functions | |
| virtual ChainableResult< ConfigValue< bool > > | verify_checksums_validated (ConfigScopeType type, const std::string &scope) const |
| virtual ChainableResult< ConfigValue< bool > > | verify_checksums_raw (ConfigScopeType type, const std::string &scope) const =0 |
| virtual ChainableResult< ConfigValue< PrimaryPairingMode > > | primary_pairing_mode_validated (ConfigScopeType type, const std::string &scope) const |
| virtual ChainableResult< ConfigValue< PrimaryPairingMode > > | primary_pairing_mode_raw (ConfigScopeType type, const std::string &scope) const =0 |
| virtual ChainableResult< ConfigValue< std::vector< std::string > > > | primary_pairing_partners_validated (ConfigScopeType type, const std::string &scope) const |
| virtual ChainableResult< ConfigValue< std::vector< std::string > > > | primary_pairing_partners_raw (ConfigScopeType type, const std::string &scope) const =0 |
| virtual ChainableResult< ConfigValue< std::vector< std::string > > > | diagnostic_warnings_exclude_validated (ConfigScopeType type, const std::string &scope) const |
| virtual ChainableResult< ConfigValue< std::vector< std::string > > > | diagnostic_warnings_exclude_raw (ConfigScopeType type, const std::string &scope) const =0 |
| virtual ChainableResult< ConfigValue< std::vector< std::string > > > | diagnostic_warnings_include_validated (ConfigScopeType type, const std::string &scope) const |
| virtual ChainableResult< ConfigValue< std::vector< std::string > > > | diagnostic_warnings_include_raw (ConfigScopeType type, const std::string &scope) const =0 |
| virtual ChainableResult< ConfigValue< std::vector< std::string > > > | diagnostic_remarks_exclude_validated (ConfigScopeType type, const std::string &scope) const |
| virtual ChainableResult< ConfigValue< std::vector< std::string > > > | diagnostic_remarks_exclude_raw (ConfigScopeType type, const std::string &scope) const =0 |
| virtual ChainableResult< ConfigValue< std::vector< std::string > > > | diagnostic_remarks_include_validated (ConfigScopeType type, const std::string &scope) const |
| virtual ChainableResult< ConfigValue< std::vector< std::string > > > | diagnostic_remarks_include_raw (ConfigScopeType type, const std::string &scope) const =0 |
Interface that defines a complete app layer configuration.
Definition at line 26 of file app_config.hpp.
|
virtualdefault |
|
pure virtual |
Prepends a ConfigProvider to the provider chain at highest priority.
Allows use cases to layer an override provider on top of the user's configuration for operations that run the compiler on Porytiles's own behalf. Implementations must invalidate any cached value resolutions so that subsequent reads consult the newly prepended provider.
| provider | The provider to prepend. Must be non-null. |
Implemented in porytiles::LazyLayeredConfig.
|
inline |
Definition at line 84 of file app_config.hpp.
|
protectedpure virtual |
Implemented in porytiles::LazyLayeredConfig.
|
inlineprotectedvirtual |
Definition at line 163 of file app_config.hpp.
|
inline |
Definition at line 92 of file app_config.hpp.
|
protectedpure virtual |
Implemented in porytiles::LazyLayeredConfig.
|
inlineprotectedvirtual |
Definition at line 175 of file app_config.hpp.
|
inline |
Definition at line 68 of file app_config.hpp.
|
protectedpure virtual |
Implemented in porytiles::LazyLayeredConfig.
|
inlineprotectedvirtual |
Definition at line 139 of file app_config.hpp.
|
inline |
Definition at line 76 of file app_config.hpp.
|
protectedpure virtual |
Implemented in porytiles::LazyLayeredConfig.
|
inlineprotectedvirtual |
Definition at line 151 of file app_config.hpp.
|
inline |
Definition at line 52 of file app_config.hpp.
|
protectedpure virtual |
Implemented in porytiles::LazyLayeredConfig.
|
inlineprotectedvirtual |
Definition at line 115 of file app_config.hpp.
|
inline |
Definition at line 60 of file app_config.hpp.
|
protectedpure virtual |
Implemented in porytiles::LazyLayeredConfig.
|
inlineprotectedvirtual |
Definition at line 127 of file app_config.hpp.
|
inline |
Definition at line 44 of file app_config.hpp.
|
protectedpure virtual |
Implemented in porytiles::LazyLayeredConfig.
|
inlineprotectedvirtual |
Definition at line 103 of file app_config.hpp.