|
MVault 1.0.0
Simple c++ database
|
Structure for storing the results of MVault operations. More...
#include <VaultOperationResult.h>
Public Member Functions | |
| void | SetOpResult (const VaultOperationResultCode &resultCode) noexcept |
| A method for setting the result of an operation. | |
| std::string | ResultCodeString () const noexcept |
| Function for getting a text description of the operation result. | |
| void | Print () const noexcept |
| Method for printing 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. | |
Structure for storing the results of MVault operations.
|
noexcept |
Function for getting a text description of the operation result.
|
noexcept |
A method for setting the result of an operation.
| [in] | resultCode | operation code |
|
friend |
Friend comparison operator.
| [in] | resA | first object to compare |
| [in] | resB | second object to compare |