◆ RequiredPropertiesConfig() [1/5]
| RequiredPropertiesConfig::RequiredPropertiesConfig | ( | const vector< string > * | properties | ) |
Construct a new instance of required RequiredPropertiesConfig using the list of property names supplied.
Once created, properties cannot be added.
- Parameters
-
- properties - to enable
◆ RequiredPropertiesConfig() [2/5]
RequiredPropertiesConfig::RequiredPropertiesConfig ( vector< string > * properties ) Construct a new instance of required RequiredPropertiesConfig using the list of property names supplied.
Once created, properties cannot be added.
- Parameters
-
- properties - to enable
◆ RequiredPropertiesConfig() [3/5]
RequiredPropertiesConfig::RequiredPropertiesConfig ( const char * properties ) Construct a new instance of required RequiredPropertiesConfig using the list of property names supplied.
Once created, properties cannot be added.
- Parameters
-
- properties - to enable
◆ RequiredPropertiesConfig() [4/5]
RequiredPropertiesConfig::RequiredPropertiesConfig ( const string & properties ) Construct a new instance of required RequiredPropertiesConfig using the list of property names supplied.
Once created, properties cannot be added.
- Parameters
-
- properties - to enable
◆ RequiredPropertiesConfig() [5/5]
RequiredPropertiesConfig::RequiredPropertiesConfig ( const string * properties ) Construct a new instance of required RequiredPropertiesConfig using the list of property names supplied.
Once created, properties cannot be added.
- Parameters
-
- properties - to enable
Member Function Documentation
◆ containsProperty() [1/2]
bool RequiredPropertiesConfig::containsProperty ( const char * property ) Get whether or not the property name supplied is contained in the required properties configuration.
- Parameters
-
- property - name of the property to find
- Returns
- true if the property name is present
◆ containsProperty() [2/2]
bool RequiredPropertiesConfig::containsProperty ( const string property ) Get whether or not the property name supplied is contained in the required properties configuration.
- Parameters
-
- property - name of the property to find
- Returns
- true if the property name is present
◆ getConfig()
PropertiesRequired * RequiredPropertiesConfig::getConfig ( ) Get a pointer to the underlying C required properties structure.
This is a pointer memory internal to this class, so should not be freed.
- Returns
- required properties config
◆ getCount()
int RequiredPropertiesConfig::getCount ( ) Get the number of properties contained within the required properties configuration.
- Returns
- number of properties
◆ getProperties()
vector< string > RequiredPropertiesConfig::getProperties ( ) Get the list of properties which are required.
- Returns
- vector containing the property names
The documentation for this class was generated from the following files:- RequiredPropertiesConfig.hpp
- RequiredPropertiesConfig.cpp
