Bayeux  3.4.1
Core Foundation library for SuperNEMO
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
datatools::things::entry_type Struct Reference

Internal entry for serializable object stored in the thing class. More...

#include <bayeux/datatools/things.h>

Inheritance diagram for datatools::things::entry_type:
datatools::i_tree_dumpable

Public Member Functions

 entry_type ()
 
virtual ~entry_type ()
 
bool is_not_const () const
 
bool is_const () const
 
void set_const (bool const_=true)
 
void set_description (const std::string &)
 
const std::string & get_description () const
 
bool has_description () const
 
virtual void tree_dump (std::ostream &out_=std::clog, const std::string &title_="", const std::string &indent_="", bool inherit_=false) const
 Main old interface method for printing. More...
 
- Public Member Functions inherited from datatools::i_tree_dumpable
 i_tree_dumpable ()
 Constructor. More...
 
virtual ~i_tree_dumpable ()
 Destructor. More...
 
virtual void print_tree (std::ostream &out_=std::clog, const boost::property_tree::ptree &options_=empty_options()) const
 Main new interface method for printing. More...
 
void print_tree_json (std::ostream &out_=std::clog, const std::string &json_options_="") const
 Printing with jsonized options. More...
 
void print_tree_json (std::ostream &out_=std::clog, const char *json_options_=nullptr) const
 Printing with jsonized options. More...
 
void tree_dump_id (const int out_type_=OSTREAM_CLOG, const std::string &title_="", const std::string &indent_="", const bool inherit_=false) const
 
void tree_print_id (const int out_type_=OSTREAM_CLOG, const std::string &title_="") const
 
void smart_print_id (const int out_type_=OSTREAM_CLOG, const std::string &title_="", const std::string &indent_="") const
 

Public Attributes

std::string description
 
uint8_t flags
 
datatools::i_serializablehandle
 

Static Public Attributes

static const char MASK_CONST = bit_mask::bit00
 

Additional Inherited Members

- Public Types inherited from datatools::i_tree_dumpable
enum  ostream_type { OSTREAM_COUT = 1, OSTREAM_CERR = 2, OSTREAM_CLOG = 3 }
 Enumeration for standard output streams. More...
 
- Static Public Member Functions inherited from datatools::i_tree_dumpable
static const boost::property_tree::ptree & empty_options ()
 
static boost::property_tree::ptree make_base_print_options (const std::string &title_, const std::string &indent_="", const bool inherit_=false)
 
static std::ostream & last_skip_tag (std::ostream &out_)
 
static std::ostream & skip_tag (std::ostream &out_)
 
static std::ostream & last_tag (std::ostream &out_)
 
static std::ostream & tag (std::ostream &out_)
 

Detailed Description

Internal entry for serializable object stored in the thing class.

Constructor & Destructor Documentation

◆ entry_type()

datatools::things::entry_type::entry_type ( )

◆ ~entry_type()

virtual datatools::things::entry_type::~entry_type ( )
virtual

Member Function Documentation

◆ get_description()

const std::string& datatools::things::entry_type::get_description ( ) const

◆ has_description()

bool datatools::things::entry_type::has_description ( ) const

◆ is_const()

bool datatools::things::entry_type::is_const ( ) const

◆ is_not_const()

bool datatools::things::entry_type::is_not_const ( ) const

◆ set_const()

void datatools::things::entry_type::set_const ( bool  const_ = true)

◆ set_description()

void datatools::things::entry_type::set_description ( const std::string &  )

◆ tree_dump()

virtual void datatools::things::entry_type::tree_dump ( std::ostream &  out_ = std::clog,
const std::string &  title_ = "",
const std::string &  indent_ = "",
bool  inherit_ = false 
) const
virtual

Main old interface method for printing.

Reimplemented from datatools::i_tree_dumpable.

Member Data Documentation

◆ description

std::string datatools::things::entry_type::description

◆ flags

uint8_t datatools::things::entry_type::flags

◆ handle

datatools::i_serializable* datatools::things::entry_type::handle

◆ MASK_CONST

const char datatools::things::entry_type::MASK_CONST = bit_mask::bit00
static

The documentation for this struct was generated from the following file: