◆ RequiredPropertiesConfig() [1/5]
FiftyoneDegrees::Common::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]
FiftyoneDegrees::Common::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]
FiftyoneDegrees::Common::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]
FiftyoneDegrees::Common::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]
FiftyoneDegrees::Common::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 FiftyoneDegrees::Common::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 FiftyoneDegrees::Common::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()
fiftyoneDegreesPropertiesRequired* FiftyoneDegrees::Common::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 FiftyoneDegrees::Common::RequiredPropertiesConfig::getCount ( ) Get the number of properties contained within the required properties configuration.
- Returns
- number of properties
◆ getProperties()
vector<string> FiftyoneDegrees::Common::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 file:- /home/vsts/work/1/s/apis/device-detection-cxx/src/common-cxx/RequiredPropertiesConfig.hpp