◆ ComponentMetaData() [1/2]
FiftyoneDegrees::Common::ComponentMetaData::ComponentMetaData | ( | ComponentMetaData * | component | ) |
Construct a new instance of ComponentMetaData from an existing instance.
This copies the existing instance and does not hold a reference to it.
- Parameters
-
- component - to copy
◆ ComponentMetaData() [2/2]
FiftyoneDegrees::Common::ComponentMetaData::ComponentMetaData ( byte componentId, string name, uint32_t defaultProfileId ) Construct a new instance of ComponentMetaData.
This should only be used internally by the collection class.
- Parameters
-
- componentId - unique id of the component
- name - the name of the component
- defaultProfileId - unique id of the default profile for the component
Member Function Documentation
◆ getComponentId()
byte FiftyoneDegrees::Common::ComponentMetaData::getComponentId ( ) Get the unique id of the component.
- Returns
- unique id
◆ getComponentIdAsInt()
int FiftyoneDegrees::Common::ComponentMetaData::getComponentIdAsInt ( ) Get the unique if of the component as an integer.
- Returns
- unique id as int
◆ getDefaultProfileId()
uint32_t FiftyoneDegrees::Common::ComponentMetaData::getDefaultProfileId ( ) Get the unique id for the default profile for this component.
- Returns
- default profile id
◆ getName()
string FiftyoneDegrees::Common::ComponentMetaData::getName ( ) Get the name of the component.
- Returns
- name of the component
The documentation for this class was generated from the following file:- /home/vsts/work/1/s/apis/device-detection-cxx/src/common-cxx/ComponentMetaData.hpp