51Degrees Common C/C++  4.1

A shared functionality library that is used 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:

FiftyoneDegrees::Common::EntityMetaData< uint32_t >

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

Getters

uint32_t  getProfileId ()
Get the unique id of the profile. More...
uint32_t  getSignatureCount ()
Get the number of signatures in the profile. More...
byte  getComponentId ()
Get the unique id of the component the profile relates to. More...

Constructor & Destructor Documentation

◆ ProfileMetaData() [1/2]

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]

ProfileMetaData::ProfileMetaData ( uint32_t   profileId,
uint32_t   signatureCount,
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
signatureCount - the number of signatures in the profile
componentId - the unique id of the component the profile relates to

Member Function Documentation

◆ getComponentId()

byte ProfileMetaData::getComponentId ( )

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

Returns
unique component id

◆ getProfileId()

uint32_t ProfileMetaData::getProfileId ( )

Get the unique id of the profile.

Returns
unique id

◆ getSignatureCount()

uint32_t ProfileMetaData::getSignatureCount ( )

Get the number of signatures in the profile.

Returns
the number of signatures

The documentation for this class was generated from the following files:
On This Page