MVault 0.0.1
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
mvlt::VaultParamInput Class Reference

A class for transferring data to the Vault. More...

#include <VaultParamInput.h>

Public Member Functions

template<class T >
 VaultParamInput (const T &data) noexcept
 A template constructor that accepts a variable to store inside VaultParamInput.
 
std::type_index GetDataType () const noexcept
 A method for getting the type of saved data.
 

Public Attributes

friend Vault
 Making the Vault class friendly so that it has access to the internal members of the VaultParamInput class.
 
friend VaultRecordRef
 Making the VaultRecordRef class friendly so that it has access to the internal members of the VaultParamInput class.
 

Detailed Description

A class for transferring data to the Vault.

It is used for multiple data additions when creating a record in Vault and for multiple data changes when setting data in VaultRecordRef

Constructor & Destructor Documentation

◆ VaultParamInput()

template<class T >
mvlt::VaultParamInput::VaultParamInput ( const T data)
noexcept

A template constructor that accepts a variable to store inside VaultParamInput.

Template Parameters
<T>Any type of data except for c arrays
Parameters
[in]datadata to be stored inside VaultParamInput

Member Function Documentation

◆ GetDataType()

std::type_index mvlt::VaultParamInput::GetDataType ( ) const
noexcept

A method for getting the type of saved data.

Returns
std::type_index object with saved data type

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