MVault 0.0.1
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Friends | List of all members
mvlt::VaultOperationResult Struct Reference

Structure for storing the results of MVault operations. More...

#include <VaultOperationResult.h>

Public Member Functions

std::string ResultCodeString () const noexcept
 Function for getting a text description of the operation result.
 

Public Attributes

bool IsOperationSuccess = true
 A variable for determining whether the operation was successful.
 
VaultOperationResultCode ResultCode = VaultOperationResultCode::Idle
 The result code of the operation.
 
std::string Key
 Requested key.
 
std::type_index RequestedType = typeid(void)
 Requested key type.
 
std::type_index SavedType = typeid(void)
 Saved key type.
 

Friends

bool operator== (const VaultOperationResult &resA, const VaultOperationResult &resB) noexcept
 Friend comparison operator.
 

Detailed Description

Structure for storing the results of MVault operations.

Member Function Documentation

◆ ResultCodeString()

std::string mvlt::VaultOperationResult::ResultCodeString ( ) const
noexcept

Function for getting a text description of the operation result.

Returns
Operation description string

Friends And Related Symbol Documentation

◆ operator==

Friend comparison operator.

Parameters
[in]resAfirst object to compare
[in]resBsecond object to compare
Returns
true if objects equal otherwise return false

The documentation for this struct was generated from the following files: