A device detection library that is used natively or by 51Degrees products

FiftyoneDegrees::Common::ProfileMetaData Class Reference

Detailed Description

Meta data relating to a profile populated by an engine implementation.

Inheritance diagram for FiftyoneDegrees::Common::ProfileMetaData:

[legend]

Collaboration diagram for FiftyoneDegrees::Common::ProfileMetaData:

[legend]

Public Member Functions

Constructors

 ProfileMetaData ()
 Default constructor, should not be used externally as it produces an invalid instance.
 ProfileMetaData (ProfileMetaData *profile)
 Construct a new instance of ProfileMetaData from an existing instance.
 ProfileMetaData (uint32_t profileId, byte componentId)
 Create a new instance of ProfileMetaData.

Getters

uint32_t getProfileId () const
 Get the unique id of the profile.
byte getComponentId () const
 Get the unique id of the component the profile relates to.

Constructor & Destructor Documentation

◆ ProfileMetaData() [1/2]

FiftyoneDegrees::Common::ProfileMetaData::ProfileMetaData ( ProfileMetaData * profile)

Construct a new instance of ProfileMetaData from an existing instance.

This copies the existing instance and does not hold a reference to it.

Parameters
profileto copy

◆ ProfileMetaData() [2/2]

FiftyoneDegrees::Common::ProfileMetaData::ProfileMetaData ( uint32_t profileId,
byte componentId )

Create a new instance of ProfileMetaData.

This should only be used internally by the Collection class.

Parameters
profileIdthe unique id of the profile
componentIdthe unique id of the component the profile relates to

Member Function Documentation

◆ getComponentId()

byte FiftyoneDegrees::Common::ProfileMetaData::getComponentId ( ) const

Get the unique id of the component the profile relates to.

Returns
unique component id

◆ getProfileId()

uint32_t FiftyoneDegrees::Common::ProfileMetaData::getProfileId ( ) const

Get the unique id of the profile.

Returns
unique id

The documentation for this class was generated from the following file: