24#ifndef Data_extension_INCLUDED
25#define Data_extension_INCLUDED
34template <
typename Extension>
Data wrapper to include backend specific extensions.
Definition: data_extension.h:35
void set_extension(const Extension ext)
Definition: data_extension.h:66
Extension ext_
Backend specific extensions.
Definition: data_extension.h:70
Data_extension(const data::Data data, const Extension ext)
Constructor.
Definition: data_extension.h:38
Data_extension()
Definition: data_extension.h:40
Extension get_extension() const
Definition: data_extension.h:61
Data_extension(const data::Data data)
Definition: data_extension.h:41
data::Data get_data() const override
Return self.
Definition: data_extension.h:58
Data_extension(const Extension ext)
Definition: data_extension.h:42
void set_data(const data::Data &data) override
Set data.
Definition: data_extension.h:64
Data_extension(const Data_extension &src)
Copy constructor.
Definition: data_extension.h:45
Data_extension & operator=(const Data_extension &src)
Assignment operator.
Definition: data_extension.h:49
Sensitive data storage.
Definition: data.h:39
Sensitive_data data() const
Get data.
Definition: data.cc:68
virtual Data get_data() const
Return self.
Definition: data.cc:65
Data & operator=(const Data &src)
Json_data_extension ext
Definition: backend.cc:50