\r\n

51Degrees Device Detection C/C++  4.4

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

FiftyoneDegrees::DeviceDetection::Hash::ValueMetaDataCollectionBaseHash Class Reference

Detailed Description

A collection of all value meta data contained in a Hash engine.

Inheritance diagram for FiftyoneDegrees::DeviceDetection::Hash::ValueMetaDataCollectionBaseHash:

[legend]

Collaboration diagram for FiftyoneDegrees::DeviceDetection::Hash::ValueMetaDataCollectionBaseHash:

[legend]

Public Member Functions

Constructors and Destructors

 ValueMetaDataCollectionBaseHash (fiftyoneDegreesResourceManager *manager)
Constructs a new instance of the collection from the data set managed by the manager provided. More...
virtual  ~ValueMetaDataCollectionBaseHash ()
Releases the data set being referenced by the collection.

Common::Collection Implementation

ValueMetaData *  getByKey (ValueMetaDataKey key) const
Get the item for the key from the collection. More...

Public Member Functions inherited from FiftyoneDegrees::Common::Collection< ValueMetaDataKey, ValueMetaData >

virtual  ~Collection ()
Dispose of any internal data.
virtual ValueMetaData *  getByIndex (uint32_t index) const=0
Get the item from the collection at the index provided. More...
virtual uint32_t  getSize () const=0
Number of items in the underlying collection. More...

Protected Attributes

fiftyoneDegreesDataSetHash *  dataSet
Pointer to the underlying data set containing the values. More...

Constructor & Destructor Documentation

◆ ValueMetaDataCollectionBaseHash()

FiftyoneDegrees::DeviceDetection::Hash::ValueMetaDataCollectionBaseHash::ValueMetaDataCollectionBaseHash ( fiftyoneDegreesResourceManager *   manager )

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

Member Function Documentation

◆ getByKey()

ValueMetaData* FiftyoneDegrees::DeviceDetection::Hash::ValueMetaDataCollectionBaseHash::getByKey ( ValueMetaDataKey   key ) const
virtual

Get the item for the key from the collection.

Parameters
key - unique key of the item required in the collection
Returns
a new instance of the item with the key

Implements FiftyoneDegrees::Common::Collection< ValueMetaDataKey, ValueMetaData >.

Reimplemented in FiftyoneDegrees::DeviceDetection::Hash::ValueMetaDataCollectionForProfileHash, FiftyoneDegrees::DeviceDetection::Hash::ValueMetaDataCollectionForPropertyHash, and FiftyoneDegrees::DeviceDetection::Hash::ValueMetaDataCollectionHash.

Field Documentation

◆ dataSet

fiftyoneDegreesDataSetHash* FiftyoneDegrees::DeviceDetection::Hash::ValueMetaDataCollectionBaseHash::dataSet
protected

Pointer to the underlying data set containing the values.


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