|
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 22 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 78 of file app_config.hpp.
|
protectedpure virtual |
Implemented in porytiles::LazyLayeredConfig.
|
inlineprotectedvirtual |
Definition at line 155 of file app_config.hpp.
|
inline |
Definition at line 86 of file app_config.hpp.
|
protectedpure virtual |
Implemented in porytiles::LazyLayeredConfig.
|
inlineprotectedvirtual |
Definition at line 167 of file app_config.hpp.
|
inline |
Definition at line 62 of file app_config.hpp.
|
protectedpure virtual |
Implemented in porytiles::LazyLayeredConfig.
|
inlineprotectedvirtual |
Definition at line 131 of file app_config.hpp.
|
inline |
Definition at line 70 of file app_config.hpp.
|
protectedpure virtual |
Implemented in porytiles::LazyLayeredConfig.
|
inlineprotectedvirtual |
Definition at line 143 of file app_config.hpp.
|
inline |
Definition at line 46 of file app_config.hpp.
|
protectedpure virtual |
Implemented in porytiles::LazyLayeredConfig.
|
inlineprotectedvirtual |
Definition at line 107 of file app_config.hpp.
|
inline |
Definition at line 54 of file app_config.hpp.
|
protectedpure virtual |
Implemented in porytiles::LazyLayeredConfig.
|
inlineprotectedvirtual |
Definition at line 119 of file app_config.hpp.
|
inline |
Definition at line 38 of file app_config.hpp.
|
protectedpure virtual |
Implemented in porytiles::LazyLayeredConfig.
|
inlineprotectedvirtual |
Definition at line 95 of file app_config.hpp.