|
Flow123d
jenkins-Flow123d-linux-release-multijob-282
|
Class for create text documentation. More...
#include <type_output.hh>


Public Member Functions | |
| OutputText (const TypeBase *type, unsigned int depth=0) | |
Public Member Functions inherited from Input::Type::OutputBase | |
| virtual ostream & | print (ostream &stream) |
Performs output of the documentation into given stream. The same effect has the reloaded operator '<<'. Returns reference to the same stream. More... | |
| void | set_filter (string regex_filter) |
Initializes and allocates regular expression filter regex_filter. More... | |
Protected Member Functions | |
| void | print_impl (ostream &stream, const Record *type, unsigned int depth) |
| void | print_impl (ostream &stream, const Array *type, unsigned int depth) |
| void | print_impl (ostream &stream, const AbstractRecord *type, unsigned int depth) |
| void | print_impl (ostream &stream, const AdHocAbstractRecord *type, unsigned int depth) |
| void | print_impl (ostream &stream, const Selection *type, unsigned int depth) |
| void | print_impl (ostream &stream, const Integer *type, unsigned int depth) |
| void | print_impl (ostream &stream, const Double *type, unsigned int depth) |
| void | print_impl (ostream &stream, const Bool *type, unsigned int depth) |
| void | print_impl (ostream &stream, const String *type, unsigned int depth) |
| void | print_impl (ostream &stream, const FileName *type, unsigned int depth) |
Protected Member Functions inherited from Input::Type::OutputBase | |
| OutputBase (const TypeBase *type, unsigned int depth=0) | |
| virtual | ~OutputBase () |
| Destructor. More... | |
| void | get_array_sizes (Array array, unsigned int &lower, unsigned int &upper) |
| Gets range of array. More... | |
| const string & | get_record_description (const Record *rec) |
| Gets description of the given record type. More... | |
| void | get_record_key (Record rec, unsigned int key_idx, Record::Key &key) |
| Gets record key for given index. More... | |
| void | get_integer_bounds (Integer integer, int &lower, int &upper) |
| Gets range of integer. More... | |
| void | get_double_bounds (Double dbl, double &lower, double &upper) |
| Gets range of double. More... | |
| void | get_parent_ptr (Record rec, boost::shared_ptr< AbstractRecord > &parent_ptr) |
| Gets pointer of parent AbstractRecord for given Record. More... | |
| void | get_array_type (Array array, boost::shared_ptr< const TypeBase > &arr_type) |
| Gets pointer of inner type for given Array. More... | |
| void | get_default (Record::KeyIter it, string &type, string &value) |
| Gets values of default for given record key. More... | |
| const string & | get_selection_description (const Selection *sel) |
| Gets description of the given selection type. More... | |
| const string & | get_adhoc_parent_name (const AdHocAbstractRecord *a_rec) |
| Gets parent_name_ of the given AdHocAbstractRecord type. More... | |
| AbstractRecord::ChildDataIter | get_adhoc_parent_data (const AdHocAbstractRecord *a_rec) |
| Gets iterator to begin of parent_data_ of the given AdHocAbstractRecord type. More... | |
| const void * | get_record_data (const Record *rec) |
| Gets pointer of inner data for given Record. More... | |
| const void * | get_abstract_record_data (const AbstractRecord *a_rec) |
| Gets pointer of inner data for given AbstractRecord. More... | |
| const void * | get_selection_data (const Selection *sel) |
| Gets pointer of inner data for given Selection. More... | |
| const void * | get_array_data (const Array *array) |
| Gets pointer of inner data for given Array. More... | |
| const void * | get_type_base_data (const TypeBase *type) |
| Gets pointer of inner data for given TypeBase. More... | |
| void | print (ostream &stream, const TypeBase *type, unsigned int depth) |
| void | write_description (std::ostream &stream, const string &str, unsigned int padding, unsigned int hash_count=1) |
| void | write_default_value (std::ostream &stream, Default dft) |
Additional Inherited Members | |
Protected Types inherited from Input::Type::OutputBase | |
| enum | DocumentationType { key_record, full_record } |
Protected Attributes inherited from Input::Type::OutputBase | |
| const TypeBase * | type_ |
| Object for which is created printout. More... | |
| unsigned int | depth_ |
| Depth of printout (for value 0 is printed all input tree) More... | |
| DocumentationType | doc_type_ |
| Type of documentation output. More... | |
| unsigned int | size_setw_ |
| temporary value for printout of description (used in std::setw function) More... | |
| std::string | format_head |
| std::string | format_tail |
| ProcessedTypes | doc_flags_ |
| Stores flags and references of processed type. More... | |
Static Protected Attributes inherited from Input::Type::OutputBase | |
| static const unsigned int | padding_size = 4 |
| Padding of new level of printout, used where we use indentation. More... | |
Class for create text documentation.
Record, AbstractRecord and Selection are represented by block of text that contains type name, name, description and count and list of keys (for Record), descendants (for AbstractRecord) or values (for Selection).
In list are displayed information about subtypes, e.g. type name, description, value, range of numeric values etc.
Definition at line 307 of file type_output.hh.
|
inline |
Definition at line 309 of file type_output.hh.
|
protectedvirtual |
Implements printout of Record type
Implements Input::Type::OutputBase.
Definition at line 317 of file type_output.cc.
|
protectedvirtual |
Implements printout of Array type
Implements Input::Type::OutputBase.
Definition at line 380 of file type_output.cc.
|
protectedvirtual |
Implements printout of AbstractRecord type
Implements Input::Type::OutputBase.
Definition at line 400 of file type_output.cc.
|
protectedvirtual |
Implements printout of AdHocAbstractRecord type
Implements Input::Type::OutputBase.
Definition at line 443 of file type_output.cc.
|
protectedvirtual |
Implements printout of Selection type
Implements Input::Type::OutputBase.
Definition at line 469 of file type_output.cc.
|
protectedvirtual |
Implements printout of Integer type
Implements Input::Type::OutputBase.
Definition at line 504 of file type_output.cc.
|
protectedvirtual |
Implements printout of Double type
Implements Input::Type::OutputBase.
Definition at line 513 of file type_output.cc.
|
protectedvirtual |
Implements printout of Bool type
Implements Input::Type::OutputBase.
Definition at line 522 of file type_output.cc.
|
protectedvirtual |
Implements printout of String type
Implements Input::Type::OutputBase.
Definition at line 529 of file type_output.cc.
|
protectedvirtual |
Implements printout of FileName type
Implements Input::Type::OutputBase.
Definition at line 536 of file type_output.cc.
1.8.5