\r\n

51Degrees Device Detection C/C++  4.4

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. More...
 ProfileMetaData (uint32_t profileId, byte componentId)
Create a new instance of ProfileMetaData. More...

Getters

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

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
profile - to 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
profileId - the unique id of the profile
componentId - the 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:
  • /home/runner/work/device-detection-cxx/device-detection-cxx/common/device-detection-cxx/src/common-cxx/ProfileMetaData.hpp