Provides component specific proxy access to the configuration service.  
 More...
#include <configurationregistrarproxy.h>
|  | 
|  | ConfigurationRegistrarProxy (ConfigurationService &service, BuildId buildId) | 
|  | 
| void | registerValidator (ConfigurationValidator validator) override | 
|  | 
| template<typename T > | 
| void | registerNumeric (const std::string &sName, const ConfigurationProperties &properties=ConfigurationProperties::NONE, const std::initializer_list< T > &values={}, const std::string &sUsage="", T minValue=std::numeric_limits< T >::lowest(), T maxValue=std::numeric_limits< T >::max(), std::size_t minOccurs=1, std::size_t maxOccurs=1, const std::string &sRegexPattern={}) | 
|  | 
| template<typename T > | 
| void | registerNonNumeric (const std::string &sName, const ConfigurationProperties &properties=ConfigurationProperties::NONE, const std::initializer_list< T > &values={}, const std::string &sUsage="", std::size_t minOccurs=1, std::size_t maxOccurs=1, const std::string &sRegexPattern={}) | 
|  | 
Provides component specific proxy access to the configuration service. 
Definition at line 49 of file configurationregistrarproxy.h.
◆ ConfigurationRegistrarProxy()
◆ registerNonNumeric()
template<typename T > 
  
  | 
        
          | void EMANE::ConfigurationRegistrar::registerNonNumeric | ( | const std::string & | sName, |  
          |  |  | const ConfigurationProperties & | properties = ConfigurationProperties::NONE, |  
          |  |  | const std::initializer_list< T > & | values = {}, |  
          |  |  | const std::string & | sUsage = "", |  
          |  |  | std::size_t | minOccurs = 1, |  
          |  |  | std::size_t | maxOccurs = 1, |  
          |  |  | const std::string & | sRegexPattern = {} |  
          |  | ) |  |  |  | inherited | 
 
Registers a non-numeric configuration item
- Parameters
- 
  
    | sName | Name of the configuration item to be registered |  | properties | Configuration properties mask |  | values | Default configuration values |  | sUsage | Parameter usage description |  | minOccurs | Minimum values allowed |  | maxOccurs | Maximum values allowed |  | sRegexPattern | Regular expression to match against |  
 
- Exceptions
- 
  
  
Definition at line 68 of file configurationregistrar.inl.
 
 
◆ registerNumeric()
template<typename T > 
  
  | 
        
          | void EMANE::ConfigurationRegistrar::registerNumeric | ( | const std::string & | sName, |  
          |  |  | const ConfigurationProperties & | properties = ConfigurationProperties::NONE, |  
          |  |  | const std::initializer_list< T > & | values = {}, |  
          |  |  | const std::string & | sUsage = "", |  
          |  |  | T | minValue = std::numeric_limits<T>::lowest(), |  
          |  |  | T | maxValue = std::numeric_limits<T>::max(), |  
          |  |  | std::size_t | minOccurs = 1, |  
          |  |  | std::size_t | maxOccurs = 1, |  
          |  |  | const std::string & | sRegexPattern = {} |  
          |  | ) |  |  |  | inherited | 
 
Registers a numeric configuration item
- Parameters
- 
  
    | sName | Name of the configuration item to be registered |  | properties | Configuration properties mask |  | values | Default configuration values |  | sUsage | Parameter usage description |  | minValue | Minimum acceptable value |  | maxValue | Maximum acceptable value |  | minOccurs | Minimum values allowed |  | maxOccurs | Maximum values allowed |  | sRegexPattern | Regular expression to match against |  
 
- Exceptions
- 
  
  
Definition at line 42 of file configurationregistrar.inl.
 
 
◆ registerValidator()
The documentation for this class was generated from the following files: