Electroneum
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  }

◆ 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  }

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: