Electroneum
Loading...
Searching...
No Matches
epee::enableable< t_obj > Struct Template Reference

#include <enableable.h>

Public Member Functions

 enableable ()
 enableable (const t_obj &_v)
 enableable (const enableable< t_obj > &_v)

Public Attributes

t_obj v
bool enabled

Detailed Description

template<class t_obj>
struct epee::enableable< t_obj >

Definition at line 33 of file enableable.h.

Constructor & Destructor Documentation

◆ enableable() [1/3]

template<class t_obj>
epee::enableable< t_obj >::enableable ( )
inline

Definition at line 38 of file enableable.h.

39 : v(t_obj()), enabled(true)
40 { // construct from defaults
41 }
Here is the caller graph for this function:

◆ enableable() [2/3]

template<class t_obj>
epee::enableable< t_obj >::enableable ( const t_obj & _v)
inline

Definition at line 43 of file enableable.h.

44 : v(_v), enabled(true)
45 { // construct from specified values
46 }

◆ enableable() [3/3]

template<class t_obj>
epee::enableable< t_obj >::enableable ( const enableable< t_obj > & _v)
inline

Definition at line 48 of file enableable.h.

49 : v(_v.v), enabled(_v.enabled)
50 { // construct from specified values
51 }
Here is the call graph for this function:

Member Data Documentation

◆ enabled

template<class t_obj>
bool epee::enableable< t_obj >::enabled

Definition at line 36 of file enableable.h.

◆ v

template<class t_obj>
t_obj epee::enableable< t_obj >::v

Definition at line 35 of file enableable.h.


The documentation for this struct was generated from the following file:
  • /home/abuild/rpmbuild/BUILD/electroneum-5.1.3.1-build/electroneum-5.1.3.1/contrib/epee/include/serialization/enableable.h