51Degrees Device Detection C/C++  4.1

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

FiftyoneDegrees::DeviceDetection::Hash::PropertyMetaDataCollectionForComponentHash Class Reference

Detailed Description

A collection of property meta data relating to a component contained in a Hash engine.

Inheritance diagram for FiftyoneDegrees::DeviceDetection::Hash::PropertyMetaDataCollectionForComponentHash:

[legend]

Collaboration diagram for FiftyoneDegrees::DeviceDetection::Hash::PropertyMetaDataCollectionForComponentHash:

[legend]

Public Member Functions

Constructor

 PropertyMetaDataCollectionForComponentHash (fiftyoneDegreesResourceManager *manager, ComponentMetaData *component)
Constructs a new instance of the collection from the data set managed by the manager provided. More...

Common::Collection Implementation

 ~PropertyMetaDataCollectionForComponentHash ()
Releases the data set being referenced by the collection.
PropertyMetaData *  getByIndex (uint32_t index)
Get the item from the collection at the index provided. More...
PropertyMetaData *  getByKey (string name)
Get the item for the key from the collection. More...
uint32_t  getSize ()
Number of items in the underlying collection. More...

Public Member Functions inherited from FiftyoneDegrees::Common::Collection< string, PropertyMetaData >

virtual  ~Collection ()
Dispose of any internal data.

Constructor & Destructor Documentation

◆ PropertyMetaDataCollectionForComponentHash()

FiftyoneDegrees::DeviceDetection::Hash::PropertyMetaDataCollectionForComponentHash::PropertyMetaDataCollectionForComponentHash ( fiftyoneDegreesResourceManager *   manager,
ComponentMetaData *   component  
)

Constructs a new instance of the collection from the data set managed by the manager provided.

Parameters
manager - pointer to the manager which manages the data set
component - pointer to the component which the properties must relate to

Member Function Documentation

◆ getByIndex()

PropertyMetaData* FiftyoneDegrees::DeviceDetection::Hash::PropertyMetaDataCollectionForComponentHash::getByIndex ( uint32_t   index )
virtual

Get the item from the collection at the index provided.

Parameters
index - of the item required in the collection. Not the same as the key
Returns
a new instance of the item at the index

Implements FiftyoneDegrees::Common::Collection< string, PropertyMetaData >.


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