Microsoft Information Protection SDK - C++ 1.17
API Reference Documentation for C++
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
MetadataEntry Class Reference

An abstraction class for metadata entry. More...

#include <metadata_entry.h>

Public Member Functions

 MetadataEntry (const std::string &key, const std::string &value, uint32_t version)
 C'tor for a MetadataEntry abstraction.
 
 MetadataEntry (const std::string &key, const std::string &value, const MetadataVersion &version)
 C'tor for a MetadataEntry abstraction.
 
 MetadataEntry (const std::string &key, const std::string &value)
 C'tor for a MetadataEntry abstraction, version is set to a default of 0.
 
const std::string & GetKey () const
 Get the metadata entry key.
 
const std::string & GetValue () const
 Get the metadata entry value.
 
MetadataVersion GetVersion () const
 Get the metadata entry version.
 

Detailed Description

An abstraction class for metadata entry.

Constructor & Destructor Documentation

◆ MetadataEntry() [1/3]

MetadataEntry::MetadataEntry ( const std::string & key,
const std::string & value,
uint32_t version )
inline

C'tor for a MetadataEntry abstraction.

Parameters
keymetadata key entry.
valuemetadata value entry
versionmetadata 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
keymetadata key entry.
valuemetadata value entry
versionmetadata 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
keymetadata key entry.
valuemetadata value entry

Member Function Documentation

◆ 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()

MetadataVersion MetadataEntry::GetVersion ( ) const
inline

Get the metadata entry version.

Returns
metadata entry version.

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