Microsoft Information Protection (MIP) SDK for C++: Reference 1.15
Doxygen-generated documentation for MIP SDK written in C++
Loading...
Searching...
No Matches
metadata_version.h File Reference

A file containing the MetadataVersion class and the MetadataVersionFormat enumerator. More...

#include <cstdint>
#include "mip/mip_namespace.h"
+ Include dependency graph for metadata_version.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  MetadataVersion
 Interface for a MetadataVersion. More...
 

Enumerations

enum class  MetadataVersionFormat : unsigned int {
  DEFAULT = 0 ,
  ONE_LABEL_PER_TENANT = 1 << 0
}
 Different algorithms to use when processing metadata. More...
 

Functions

MetadataVersionFormat operator& (MetadataVersionFormat a, MetadataVersionFormat b)
 And (&) operator for MetadataVersionFormat type enum.
 
MetadataVersionFormat operator^ (MetadataVersionFormat a, MetadataVersionFormat b)
 Xor (^) operator for MetadataVersionFormat type enum.
 
MetadataVersionFormat operator| (MetadataVersionFormat a, MetadataVersionFormat b)
 Or (|) operator for MetadataVersionFormat type enum.
 

Detailed Description

A file containing the MetadataVersion class and the MetadataVersionFormat enumerator.

Definition in file metadata_version.h.

Enumeration Type Documentation

◆ MetadataVersionFormat

enum class MetadataVersionFormat : unsigned int
strong

Different algorithms to use when processing metadata.

Enumerator
DEFAULT 
ONE_LABEL_PER_TENANT 

When filtering label versions, only allow one label per tenant id.

Definition at line 46 of file metadata_version.h.

46 : unsigned int {
47 DEFAULT = 0,
48 ONE_LABEL_PER_TENANT = 1 << 0 /**< When filtering label versions, only allow one label per tenant id*/
49};
@ ONE_LABEL_PER_TENANT
When filtering label versions, only allow one label per tenant id.

Function Documentation

◆ operator&()

And (&) operator for MetadataVersionFormat type enum.

Definition at line 60 of file metadata_version.h.

60 {
61 return static_cast<MetadataVersionFormat>(static_cast<unsigned int>(a) & static_cast<unsigned int>(b));
62}
MetadataVersionFormat
Different algorithms to use when processing metadata.

◆ operator^()

Xor (^) operator for MetadataVersionFormat type enum.

Definition at line 66 of file metadata_version.h.

66 {
67 return static_cast<MetadataVersionFormat>(static_cast<unsigned int>(a) ^ static_cast<unsigned int>(b));
68}

◆ operator|()

Or (|) operator for MetadataVersionFormat type enum.

Definition at line 54 of file metadata_version.h.

54 {
55 return static_cast<MetadataVersionFormat>(static_cast<unsigned int>(a) | static_cast<unsigned int>(b));
56}