|
| Configurations (void) |
| Default constructor with empty repository. More...
|
|
| Configurations (const std::string &configurationFile, bool useDefaultsForRemaining=true, Configurations *base=nullptr) |
| Constructor used to set configurations using configuration file. More...
|
|
virtual | ~Configurations (void) |
|
bool | parseFromFile (const std::string &configurationFile, Configurations *base=nullptr) |
| Parses configuration from file. More...
|
|
bool | parseFromText (const std::string &configurationsString, Configurations *base=nullptr) |
| Parse configurations from configuration string. More...
|
|
void | setFromBase (Configurations *base) |
| Sets configuration based-off an existing configurations. More...
|
|
bool | hasConfiguration (ConfigurationType configurationType) |
| Determines whether or not specified configuration type exists in the repository. More...
|
|
bool | hasConfiguration (Level level, ConfigurationType configurationType) |
| Determines whether or not specified configuration type exists for specified level. More...
|
|
void | set (Level level, ConfigurationType configurationType, const std::string &value) |
| Sets value of configuration for specified level. More...
|
|
void | set (Configuration *conf) |
| Sets single configuration based on other single configuration. More...
|
|
Configuration * | get (Level level, ConfigurationType configurationType) |
|
void | setGlobally (ConfigurationType configurationType, const std::string &value) |
| Sets configuration for all levels. More...
|
|
void | clear (void) |
| Clears repository so that all the configurations are unset. More...
|
|
const std::string & | configurationFile (void) const |
| Gets configuration file used in parsing this configurations. More...
|
|
void | setToDefault (void) |
| Sets configurations to "factory based" configurations. More...
|
|
void | setRemainingToDefault (void) |
| Lets you set the remaining configurations to default. More...
|
|
| Configurations (void) |
| Default constructor with empty repository. More...
|
|
| Configurations (const std::string &configurationFile, bool useDefaultsForRemaining=true, Configurations *base=nullptr) |
| Constructor used to set configurations using configuration file. More...
|
|
virtual | ~Configurations (void) |
|
bool | parseFromFile (const std::string &configurationFile, Configurations *base=nullptr) |
| Parses configuration from file. More...
|
|
bool | parseFromText (const std::string &configurationsString, Configurations *base=nullptr) |
| Parse configurations from configuration string. More...
|
|
void | setFromBase (Configurations *base) |
| Sets configuration based-off an existing configurations. More...
|
|
bool | hasConfiguration (ConfigurationType configurationType) |
| Determines whether or not specified configuration type exists in the repository. More...
|
|
bool | hasConfiguration (Level level, ConfigurationType configurationType) |
| Determines whether or not specified configuration type exists for specified level. More...
|
|
void | set (Level level, ConfigurationType configurationType, const std::string &value) |
| Sets value of configuration for specified level. More...
|
|
void | set (Configuration *conf) |
| Sets single configuration based on other single configuration. More...
|
|
Configuration * | get (Level level, ConfigurationType configurationType) |
|
void | setGlobally (ConfigurationType configurationType, const std::string &value) |
| Sets configuration for all levels. More...
|
|
void | clear (void) |
| Clears repository so that all the configurations are unset. More...
|
|
const std::string & | configurationFile (void) const |
| Gets configuration file used in parsing this configurations. More...
|
|
void | setToDefault (void) |
| Sets configurations to "factory based" configurations. More...
|
|
void | setRemainingToDefault (void) |
| Lets you set the remaining configurations to default. More...
|
|
| Configurations (void) |
| Default constructor with empty repository. More...
|
|
| Configurations (const std::string &configurationFile, bool useDefaultsForRemaining=true, Configurations *base=nullptr) |
| Constructor used to set configurations using configuration file. More...
|
|
virtual | ~Configurations (void) |
|
bool | parseFromFile (const std::string &configurationFile, Configurations *base=nullptr) |
| Parses configuration from file. More...
|
|
bool | parseFromText (const std::string &configurationsString, Configurations *base=nullptr) |
| Parse configurations from configuration string. More...
|
|
void | setFromBase (Configurations *base) |
| Sets configuration based-off an existing configurations. More...
|
|
bool | hasConfiguration (ConfigurationType configurationType) |
| Determines whether or not specified configuration type exists in the repository. More...
|
|
bool | hasConfiguration (Level level, ConfigurationType configurationType) |
| Determines whether or not specified configuration type exists for specified level. More...
|
|
void | set (Level level, ConfigurationType configurationType, const std::string &value) |
| Sets value of configuration for specified level. More...
|
|
void | set (Configuration *conf) |
| Sets single configuration based on other single configuration. More...
|
|
Configuration * | get (Level level, ConfigurationType configurationType) |
|
void | setGlobally (ConfigurationType configurationType, const std::string &value) |
| Sets configuration for all levels. More...
|
|
void | clear (void) |
| Clears repository so that all the configurations are unset. More...
|
|
const std::string & | configurationFile (void) const |
| Gets configuration file used in parsing this configurations. More...
|
|
void | setToDefault (void) |
| Sets configurations to "factory based" configurations. More...
|
|
void | setRemainingToDefault (void) |
| Lets you set the remaining configurations to default. More...
|
|
| RegistryWithPred (void) |
|
| RegistryWithPred (const RegistryWithPred &sr) |
| Copy constructor that is useful for base classes. Try to avoid this constructor, use move constructor. More...
|
|
| RegistryWithPred (void) |
|
| RegistryWithPred (const RegistryWithPred &sr) |
| Copy constructor that is useful for base classes. Try to avoid this constructor, use move constructor. More...
|
|
| RegistryWithPred (void) |
|
| RegistryWithPred (const RegistryWithPred &sr) |
| Copy constructor that is useful for base classes. Try to avoid this constructor, use move constructor. More...
|
|
virtual | ~RegistryWithPred (void) |
|
virtual | ~RegistryWithPred (void) |
|
virtual | ~RegistryWithPred (void) |
|
RegistryWithPred & | operator= (const RegistryWithPred &sr) |
| Assignment operator that unregisters all the existing registeries and deeply copies each of repo element. More...
|
|
RegistryWithPred & | operator= (const RegistryWithPred &sr) |
| Assignment operator that unregisters all the existing registeries and deeply copies each of repo element. More...
|
|
RegistryWithPred & | operator= (const RegistryWithPred &sr) |
| Assignment operator that unregisters all the existing registeries and deeply copies each of repo element. More...
|
|
| AbstractRegistry (void) |
| Default constructor. More...
|
|
| AbstractRegistry (AbstractRegistry &&sr) |
| Move constructor that is useful for base classes. More...
|
|
| AbstractRegistry (void) |
| Default constructor. More...
|
|
| AbstractRegistry (AbstractRegistry &&sr) |
| Move constructor that is useful for base classes. More...
|
|
| AbstractRegistry (void) |
| Default constructor. More...
|
|
| AbstractRegistry (AbstractRegistry &&sr) |
| Move constructor that is useful for base classes. More...
|
|
bool | operator== (const AbstractRegistry< Configuration, std::vector< Configuration * > > &other) |
|
bool | operator== (const AbstractRegistry< Configuration, std::vector< Configuration * > > &other) |
|
bool | operator== (const AbstractRegistry< Configuration, std::vector< Configuration * > > &other) |
|
bool | operator!= (const AbstractRegistry< Configuration, std::vector< Configuration * > > &other) |
|
bool | operator!= (const AbstractRegistry< Configuration, std::vector< Configuration * > > &other) |
|
bool | operator!= (const AbstractRegistry< Configuration, std::vector< Configuration * > > &other) |
|
AbstractRegistry & | operator= (AbstractRegistry &&sr) |
| Assignment move operator. More...
|
|
AbstractRegistry & | operator= (AbstractRegistry &&sr) |
| Assignment move operator. More...
|
|
AbstractRegistry & | operator= (AbstractRegistry &&sr) |
| Assignment move operator. More...
|
|
virtual | ~AbstractRegistry (void) |
|
virtual | ~AbstractRegistry (void) |
|
virtual | ~AbstractRegistry (void) |
|
virtual iterator | begin (void) ELPP_FINAL |
|
virtual iterator | begin (void) ELPP_FINAL |
|
virtual iterator | begin (void) ELPP_FINAL |
|
virtual iterator | end (void) ELPP_FINAL |
|
virtual iterator | end (void) ELPP_FINAL |
|
virtual iterator | end (void) ELPP_FINAL |
|
virtual const_iterator | cbegin (void) const ELPP_FINAL |
|
virtual const_iterator | cbegin (void) const ELPP_FINAL |
|
virtual const_iterator | cbegin (void) const ELPP_FINAL |
|
virtual const_iterator | cend (void) const ELPP_FINAL |
|
virtual const_iterator | cend (void) const ELPP_FINAL |
|
virtual const_iterator | cend (void) const ELPP_FINAL |
|
virtual bool | empty (void) const ELPP_FINAL |
|
virtual bool | empty (void) const ELPP_FINAL |
|
virtual bool | empty (void) const ELPP_FINAL |
|
virtual std::size_t | size (void) const ELPP_FINAL |
|
virtual std::size_t | size (void) const ELPP_FINAL |
|
virtual std::size_t | size (void) const ELPP_FINAL |
|
virtual std::vector
< Configuration * > & | list (void) ELPP_FINAL |
| Returns underlying container by reference. More...
|
|
virtual const std::vector
< Configuration * > & | list (void) const ELPP_FINAL |
| Returns underlying container by constant reference. More...
|
|
virtual std::vector
< Configuration * > & | list (void) ELPP_FINAL |
| Returns underlying container by reference. More...
|
|
virtual const std::vector
< Configuration * > & | list (void) const ELPP_FINAL |
| Returns underlying container by constant reference. More...
|
|
virtual std::vector
< Configuration * > & | list (void) ELPP_FINAL |
| Returns underlying container by reference. More...
|
|
virtual const std::vector
< Configuration * > & | list (void) const ELPP_FINAL |
| Returns underlying container by constant reference. More...
|
|
virtual void | acquireLock (void) ELPP_FINAL |
|
virtual void | releaseLock (void) ELPP_FINAL |
|
virtual base::threading::Mutex & | lock (void) ELPP_FINAL |
|
virtual void | acquireLock (void) ELPP_FINAL |
|
virtual void | releaseLock (void) ELPP_FINAL |
|
virtual base::threading::Mutex & | lock (void) ELPP_FINAL |
|
virtual void | acquireLock (void) ELPP_FINAL |
|
virtual void | releaseLock (void) ELPP_FINAL |
|
virtual base::threading::Mutex & | lock (void) ELPP_FINAL |
|
|
typedef RegistryWithPred
< Configuration,
Configuration::Predicate >
::iterator | iterator |
|
typedef RegistryWithPred
< Configuration,
Configuration::Predicate >
::iterator | iterator |
|
typedef RegistryWithPred
< Configuration,
Configuration::Predicate >
::iterator | iterator |
|
typedef RegistryWithPred
< Configuration,
Configuration::Predicate >
::const_iterator | const_iterator |
|
typedef RegistryWithPred
< Configuration,
Configuration::Predicate >
::const_iterator | const_iterator |
|
typedef RegistryWithPred
< Configuration,
Configuration::Predicate >
::const_iterator | const_iterator |
|
typedef std::vector
< Configuration * >::iterator | iterator |
|
typedef std::vector
< Configuration * >::iterator | iterator |
|
typedef std::vector
< Configuration * >::iterator | iterator |
|
typedef std::vector
< Configuration * >
::const_iterator | const_iterator |
|
typedef std::vector
< Configuration * >
::const_iterator | const_iterator |
|
typedef std::vector
< Configuration * >
::const_iterator | const_iterator |
|
virtual void | unregisterAll (void) ELPP_FINAL |
| Unregisters all the pointers from current repository. More...
|
|
virtual void | unregisterAll (void) ELPP_FINAL |
| Unregisters all the pointers from current repository. More...
|
|
virtual void | unregisterAll (void) ELPP_FINAL |
| Unregisters all the pointers from current repository. More...
|
|
virtual void | unregister (Configuration *&ptr) ELPP_FINAL |
|
virtual void | unregister (Configuration *&ptr) ELPP_FINAL |
|
virtual void | unregister (Configuration *&ptr) ELPP_FINAL |
|
virtual void | registerNew (Configuration *ptr) ELPP_FINAL |
|
virtual void | registerNew (Configuration *ptr) ELPP_FINAL |
|
virtual void | registerNew (Configuration *ptr) ELPP_FINAL |
|
Configuration * | get (const T &arg1, const T2 arg2) |
| Gets pointer from repository with speicifed arguments. Arguments are passed to predicate in order to validate pointer. More...
|
|
Configuration * | get (const T &arg1, const T2 arg2) |
| Gets pointer from repository with speicifed arguments. Arguments are passed to predicate in order to validate pointer. More...
|
|
Configuration * | get (const T &arg1, const T2 arg2) |
| Gets pointer from repository with speicifed arguments. Arguments are passed to predicate in order to validate pointer. More...
|
|
virtual void | deepCopy (const AbstractRegistry< Configuration, std::vector< Configuration * > > &)=0 |
|
virtual void | deepCopy (const AbstractRegistry< Configuration, std::vector< Configuration * > > &)=0 |
|
virtual void | deepCopy (const AbstractRegistry< Configuration, std::vector< Configuration * > > &)=0 |
|
void | reinitDeepCopy (const AbstractRegistry< Configuration, std::vector< Configuration * > > &sr) |
|
void | reinitDeepCopy (const AbstractRegistry< Configuration, std::vector< Configuration * > > &sr) |
|
void | reinitDeepCopy (const AbstractRegistry< Configuration, std::vector< Configuration * > > &sr) |
|
| ThreadSafe (void) |
|
virtual | ~ThreadSafe (void) |
|
| ThreadSafe (void) |
|
virtual | ~ThreadSafe (void) |
|
| ThreadSafe (void) |
|
virtual | ~ThreadSafe (void) |
|
Thread-safe Configuration repository.
This repository represents configurations for all the levels and configuration type mapped to a value.