24#ifndef Data_extension_INCLUDED
25#define Data_extension_INCLUDED
36template <
typename Extension>
Data wrapper to include backend specific extensions.
Definition: data_extension.h:37
void set_extension(const Extension ext)
Definition: data_extension.h:67
Extension ext_
Backend specific extensions.
Definition: data_extension.h:71
Data_extension(const data::Data data, const Extension ext)
Constructor.
Definition: data_extension.h:40
Data_extension()
Definition: data_extension.h:42
Data_extension(const data::Data data)
Definition: data_extension.h:43
Data_extension(const Extension ext)
Definition: data_extension.h:44
void set_data(const data::Data &data) override
Set data.
Definition: data_extension.h:65
const Extension get_extension() const
Definition: data_extension.h:62
const data::Data get_data() const override
Return self.
Definition: data_extension.h:59
Data_extension(const Data_extension &src)
Copy constructor.
Definition: data_extension.h:47
Data_extension & operator=(const Data_extension &src)
Assignment operator.
Definition: data_extension.h:51
Sensitive data storage.
Definition: data.h:40
Sensitive_data data() const
Get data.
Definition: data.cc:68
virtual const Data get_data() const
Return self.
Definition: data.cc:65
Data & operator=(const Data &src)
Definition: keyring_encryption_service_definition.h:32
Json_data_extension ext
Definition: backend.cc:51