An abstraction class for metadata entry.
More...
#include <mip/upe/metadata_entry.h>
An abstraction class for metadata entry.
◆ MetadataEntry() [1/3]
| MetadataEntry::MetadataEntry |
( |
const std::string & | key, |
|
|
const std::string & | value, |
|
|
uint32_t | version ) |
|
inline |
C'tor for a MetadataEntry abstraction.
- Parameters
-
| key | metadata key entry. |
| value | metadata value entry |
| version | metadata version value |
◆ MetadataEntry() [2/3]
| MetadataEntry::MetadataEntry |
( |
const std::string & | key, |
|
|
const std::string & | value, |
|
|
const MetadataVersion & | version ) |
|
inline |
C'tor for a MetadataEntry abstraction.
- Parameters
-
| key | metadata key entry. |
| value | metadata value entry |
| version | metadata version value |
◆ MetadataEntry() [3/3]
| MetadataEntry::MetadataEntry |
( |
const std::string & | key, |
|
|
const std::string & | value ) |
|
inline |
C'tor for a MetadataEntry abstraction, version is set to a default of 0.
- Parameters
-
| key | metadata key entry. |
| value | metadata value entry |
◆ ~MetadataEntry()
| virtual MetadataEntry::~MetadataEntry |
( |
| ) |
|
|
inlinevirtual |
◆ GetKey()
| const std::string & MetadataEntry::GetKey |
( |
| ) |
const |
|
inline |
Get the metadata entry key.
- Returns
- metadata entry key.
◆ GetValue()
| const std::string & MetadataEntry::GetValue |
( |
| ) |
const |
|
inline |
Get the metadata entry value.
- Returns
- metadata entry value.
◆ GetVersion()
Get the metadata entry version.
- Returns
- metadata entry version.
◆ operator==()
| bool MetadataEntry::operator== |
( |
const MetadataEntry & | other | ) |
const |
|
inline |
◆ mKey
| std::string MetadataEntry::mKey |
|
private |
◆ mValue
| std::string MetadataEntry::mValue |
|
private |
◆ mVersion
The documentation for this class was generated from the following file:
- src/api/mip/upe/metadata_entry.h