MySQL 9.1.0
Source Code Documentation
|
Data wrapper to include backend specific extensions. More...
#include <data_extension.h>
Public Member Functions | |
Data_extension (const data::Data data, const Extension ext) | |
Constructor. More... | |
Data_extension () | |
Data_extension (const data::Data data) | |
Data_extension (const Extension ext) | |
Data_extension (const Data_extension &src) | |
Copy constructor. More... | |
Data_extension & | operator= (const Data_extension &src) |
Assignment operator. More... | |
data::Data | get_data () const override |
Return self. More... | |
Extension | get_extension () const |
void | set_data (const data::Data &data) override |
Set data. More... | |
void | set_extension (const Extension ext) |
Public Member Functions inherited from keyring_common::data::Data | |
Data (const Sensitive_data &data, Type type) | |
Constructor to create a data object. More... | |
Data () | |
Data (Type type) | |
Data (const Data &src) | |
Copy constructor. More... | |
Data (Data &&src) noexcept | |
Move constructor. More... | |
Data & | operator= (const Data &src) |
Data & | operator= (Data &&src) noexcept |
virtual | ~Data () |
Destructor. More... | |
Sensitive_data | data () const |
Get data. More... | |
Type | type () const |
Get data's type. More... | |
bool | valid () const |
Status of object's validity. More... | |
void | set_data (const Sensitive_data &data) |
Set data. More... | |
void | set_type (Type type) |
Set type. More... | |
bool | operator== (const Data &other) const |
Comparison. More... | |
Private Attributes | |
Extension | ext_ |
Backend specific extensions. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from keyring_common::data::Data | |
void | set_validity () |
Set validity of the data object. More... | |
Protected Attributes inherited from keyring_common::data::Data | |
Sensitive_data | data_ |
Sensitive data. More... | |
Type | type_ |
Data type. More... | |
bool | valid_ {false} |
Validity of Data object. More... | |
Data wrapper to include backend specific extensions.
|
inline |
Constructor.
|
inline |
|
inline |
|
inline |
|
inline |
Copy constructor.
|
inlineoverridevirtual |
Return self.
Reimplemented from keyring_common::data::Data.
|
inline |
|
inline |
Assignment operator.
|
inlineoverridevirtual |
Set data.
Reimplemented from keyring_common::data::Data.
|
inline |
|
private |
Backend specific extensions.