Microsoft Information Protection (MIP) SDK for C++: Reference 1.16
Doxygen-generated documentation for MIP SDK written in C++
Loading...
Searching...
No Matches
FileEngine::Settings Class Reference

Represents the settings for a FileEngine instance. More...

#include <src/api/mip/file/file_engine.h>

Collaboration diagram for FileEngine::Settings:

Public Member Functions

const std::string & GetClientData () const
 
const std::string & GetEngineId () const
 
const IdentityGetIdentity () const
 
const std::string & GetLocale () const
 
bool IsLoadSensitivityTypesEnabled () const
 
void SetEngineId (const std::string &id)
 
void SetIdentity (const Identity &identity)
 
 Settings (const Identity &identity, const std::shared_ptr< AuthDelegate > &authDelegate, const std::string &clientData, const std::string &locale="", bool loadSensitivityTypes=false)
 
 Settings (const std::string &engineId, const std::shared_ptr< AuthDelegate > &authDelegate, const std::string &clientData, const std::string &locale="", bool loadSensitivityTypes=false)
 

Private Attributes

std::shared_ptr< AuthDelegatemAuthDelegate
 
std::string mClientData
 
std::string mEngineId
 
Identity mIdentity
 
bool mIsLoadSensitivityTypesEnabled
 
std::string mLocale
 

Detailed Description

Represents the settings for a FileEngine instance.

Definition at line 64 of file file_engine.h.

Constructor & Destructor Documentation

◆ Settings() [1/2]

FileEngine::Settings::Settings ( const std::string & engineId,
const std::shared_ptr< AuthDelegate > & authDelegate,
const std::string & clientData,
const std::string & locale = "",
bool loadSensitivityTypes = false )
inline

Definition at line 67 of file file_engine.h.

73 : mEngineId(engineId),
74 mAuthDelegate(authDelegate),
75 mClientData(clientData),
76 mLocale(locale),
77 mIsLoadSensitivityTypesEnabled(loadSensitivityTypes) {
78 if (mLocale.empty()) {
79 mLocale = "en-US";
80 }
81 }
bool mIsLoadSensitivityTypesEnabled
std::shared_ptr< AuthDelegate > mAuthDelegate
std::string mClientData
std::string mEngineId

References mLocale.

◆ Settings() [2/2]

FileEngine::Settings::Settings ( const Identity & identity,
const std::shared_ptr< AuthDelegate > & authDelegate,
const std::string & clientData,
const std::string & locale = "",
bool loadSensitivityTypes = false )
inline

Definition at line 84 of file file_engine.h.

90 : mIdentity(identity),
91 mAuthDelegate(authDelegate),
92 mClientData(clientData),
93 mLocale(locale),
94 mIsLoadSensitivityTypesEnabled(loadSensitivityTypes) {
95 if (mLocale.empty()) {
96 mLocale = "en-US";
97 }
98 }

References mLocale.

Member Function Documentation

◆ GetClientData()

const std::string & FileEngine::Settings::GetClientData ( ) const
inline

Definition at line 105 of file file_engine.h.

105{ return mClientData; }

References mClientData.

◆ GetEngineId()

const std::string & FileEngine::Settings::GetEngineId ( ) const
inline

Definition at line 101 of file file_engine.h.

101{ return mEngineId; }

References mEngineId.

◆ GetIdentity()

const Identity & FileEngine::Settings::GetIdentity ( ) const
inline

Definition at line 103 of file file_engine.h.

103{ return mIdentity; }

References mIdentity.

◆ GetLocale()

const std::string & FileEngine::Settings::GetLocale ( ) const
inline

Definition at line 106 of file file_engine.h.

106{ return mLocale; }

References mLocale.

◆ IsLoadSensitivityTypesEnabled()

bool FileEngine::Settings::IsLoadSensitivityTypesEnabled ( ) const
inline

Definition at line 107 of file file_engine.h.

References mIsLoadSensitivityTypesEnabled.

◆ SetEngineId()

void FileEngine::Settings::SetEngineId ( const std::string & id)
inline

Definition at line 102 of file file_engine.h.

102{ mEngineId = id; }

References mEngineId.

◆ SetIdentity()

void FileEngine::Settings::SetIdentity ( const Identity & identity)
inline

Definition at line 104 of file file_engine.h.

104{ mIdentity = identity; }

References mIdentity.

Member Data Documentation

◆ mAuthDelegate

std::shared_ptr<AuthDelegate> FileEngine::Settings::mAuthDelegate
private

Definition at line 114 of file file_engine.h.

◆ mClientData

std::string FileEngine::Settings::mClientData
private

Definition at line 115 of file file_engine.h.

Referenced by GetClientData().

◆ mEngineId

std::string FileEngine::Settings::mEngineId
private

Definition at line 112 of file file_engine.h.

Referenced by GetEngineId(), and SetEngineId().

◆ mIdentity

Identity FileEngine::Settings::mIdentity
private

Definition at line 113 of file file_engine.h.

Referenced by GetIdentity(), and SetIdentity().

◆ mIsLoadSensitivityTypesEnabled

bool FileEngine::Settings::mIsLoadSensitivityTypesEnabled
private

Definition at line 117 of file file_engine.h.

Referenced by IsLoadSensitivityTypesEnabled().

◆ mLocale

std::string FileEngine::Settings::mLocale
private

Definition at line 116 of file file_engine.h.

Referenced by GetLocale(), Settings(), and Settings().


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