Bayeux
3.4.1
Core Foundation library for SuperNEMO
|
Internal entry for serializable object stored in the thing class. More...
#include <bayeux/datatools/things.h>
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_serializable * | handle |
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_) |
Internal entry for serializable object stored in the thing class.
datatools::things::entry_type::entry_type | ( | ) |
|
virtual |
const std::string& datatools::things::entry_type::get_description | ( | ) | const |
bool datatools::things::entry_type::has_description | ( | ) | const |
bool datatools::things::entry_type::is_const | ( | ) | const |
bool datatools::things::entry_type::is_not_const | ( | ) | const |
void datatools::things::entry_type::set_const | ( | bool | const_ = true | ) |
void datatools::things::entry_type::set_description | ( | const std::string & | ) |
|
virtual |
Main old interface method for printing.
Reimplemented from datatools::i_tree_dumpable.
std::string datatools::things::entry_type::description |
uint8_t datatools::things::entry_type::flags |
datatools::i_serializable* datatools::things::entry_type::handle |
|
static |