◆ ValueMetaData() [1/2]
| FiftyoneDegrees::Common::ValueMetaData::ValueMetaData | ( | ValueMetaData * | value | ) |
Construct a new instance of ValueMetaData from an existing instance.
This copies the existing instance and does not hold a reference to it.
- Parameters
-
- value - to copy
◆ ValueMetaData() [2/2]
FiftyoneDegrees::Common::ValueMetaData::ValueMetaData ( ValueMetaDataKey key, string description, string url ) Create a new instance of ValueMetaData.
This should only be used internally by the Collection class.
- Parameters
-
- key - containing the value and property names
- description - full description of the value
- url - relating to the value
Member Function Documentation
◆ getDescription()
string FiftyoneDegrees::Common::ValueMetaData::getDescription ( ) const Get the full description of the value.
- Returns
- description string
◆ getName()
string FiftyoneDegrees::Common::ValueMetaData::getName ( ) const Get the name of the value.
This is a string representation of the value itself.
- Returns
- value name
◆ getUrl()
string FiftyoneDegrees::Common::ValueMetaData::getUrl ( ) const Get the URL containing any extra information about the value.
- Returns
- URL string
◆ getUtf8ValueName()
std::vector<uint8_t> FiftyoneDegrees::Common::ValueMetaData::getUtf8ValueName ( ) const Get the name of the value as a UTF-8 byte vector.
- Returns
- value name as UTF-8 bytes
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/ValueMetaData.hpp
