Microsoft Information Protection SDK - C++ 1.17
API Reference Documentation for C++
Loading...
Searching...
No Matches
MetadataVersion Class Reference

Interface for a MetadataVersion. MetadataVersion determines which metadata is active and how it is processed. More...

#include <metadata_version.h>

Public Member Functions

 MetadataVersion (uint32_t version, MetadataVersionFormat flags)
 MetadataVersion constructor.
 
virtual uint32_t GetValue () const
 Get the numerical version.
 
virtual bool HasFlag (MetadataVersionFormat flag) const
 Get whether a specific flag is set.
 
virtual MetadataVersionFormat GetFlags () const
 Get the flags that define how metadata is processed for a given version.
 

Detailed Description

Interface for a MetadataVersion. MetadataVersion determines which metadata is active and how it is processed.

Constructor & Destructor Documentation

◆ MetadataVersion()

MetadataVersion::MetadataVersion ( uint32_t version,
MetadataVersionFormat flags )
inline

MetadataVersion constructor.

Parameters
versionnumerical version to use for metadata actions
flagsflags to specify how the version is used to calculate metadata actions

Member Function Documentation

◆ GetFlags()

virtual MetadataVersionFormat MetadataVersion::GetFlags ( ) const
inlinevirtual

Get the flags that define how metadata is processed for a given version.

Returns
The flags that specify how the metadata is processed.

◆ GetValue()

virtual uint32_t MetadataVersion::GetValue ( ) const
inlinevirtual

Get the numerical version.

Returns
The numerical version.

◆ HasFlag()

virtual bool MetadataVersion::HasFlag ( MetadataVersionFormat flag) const
inlinevirtual

Get whether a specific flag is set.

Returns
true if the flag is set.

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