|
Ariles
|
#include <reader.h>
Public Types | |
| enum | SizeLimitEnforcementType { SIZE_LIMIT_UNDEFINED = 0, SIZE_LIMIT_NONE = 1, SIZE_LIMIT_EQUAL = 2, SIZE_LIMIT_RANGE = 3, SIZE_LIMIT_MIN = 4 } |
| typedef ariles::ConfigurableFlags | Parameters |
Public Member Functions | |
| Reader (const std::string &file_name) | |
| Constructor. More... | |
| Reader (std::istream &input_stream) | |
| Constructor. More... | |
| bool | descend (const std::string &child_name) |
| Descend to the entry with the given name. More... | |
| void | ascend () |
| Ascend from the current entry to its parent. More... | |
| std::size_t | startArray () |
| void | endArray () |
| void | shiftArray () |
| bool | startRoot (const std::string &name) |
| void | endRoot (const std::string &name) |
| const serialization::Features & | getSerializationFeatures () const |
| template<int t_size_limit_type> | |
| std::size_t | startMap (const std::size_t &min=0, const std::size_t &max=0) |
| virtual bool | getMapEntryNames (std::vector< std::string > &) |
| virtual void | endMap () |
| template<class t_Entry > | |
| ARILES_BASIC_TYPES_LIST void | start (t_Entry &entry, const std::string &name, const Parameters ¶meters) |
| template<class t_Entry > | |
| bool | operator() (t_Entry &entry, const std::string &name, const Parameters ¶meters) |
| template<class t_Ariles > | |
| const Parameters & | getParameters (const t_Ariles &ariles_class) const |
Static Public Member Functions | |
| static void | openFile (std::ifstream &config_ifs, const std::string &file_name) |
| open configuration file More... | |
Protected Types | |
| typedef impl::Reader | Impl |
| typedef ARILES_SHARED_PTR< impl::Reader > | ImplPtr |
Protected Member Functions | |
| std::size_t | getMapSize (const bool) |
| template<int t_size_limit_type> | |
| std::size_t | checkSize (const std::size_t &, const std::size_t &=0, const std::size_t &=0) const |
| virtual std::size_t | startMapImpl (const std::size_t size) |
| const ariles::ConfigurableFlags & | getDefaultParameters () const |
Protected Attributes | |
| ImplPtr | impl_ |
|
protectedinherited |
|
protectedinherited |
|
inherited |
Definition at line 62 of file serialization.h.
|
inherited |
|
explicit |
|
explicit |
|
virtual |
Ascend from the current entry to its parent.
Implements ariles::read::Visitor.
Definition at line 182 of file reader.cpp.
|
inlineprotectedinherited |
|
virtual |
Descend to the entry with the given name.
| [in] | child_name | child node name |
Reimplemented from ariles::read::Visitor.
Definition at line 141 of file reader.cpp.
|
virtual |
Implements ariles::read::Visitor.
Definition at line 199 of file reader.cpp.
|
inlinevirtualinherited |
Reimplemented in ariles::ns_msgpack_compact::Reader.
|
virtual |
Reimplemented from ariles::read::Visitor.
Definition at line 234 of file reader.cpp.
|
inlineprotectedinherited |
|
inlinevirtualinherited |
Reimplemented in ariles::ns_yaml_cpp03::Reader, and ariles::ns_pugixml::Reader.
|
protectedvirtual |
Implements ariles::read::Visitor.
Definition at line 133 of file reader.cpp.
|
inlineinherited |
Definition at line 68 of file serialization.h.
|
inlinevirtualinherited |
Implements ariles::serialization::Base.
|
inlinestaticinherited |
|
inlineinherited |
|
virtual |
Implements ariles::read::Visitor.
Definition at line 206 of file reader.cpp.
|
inlineinherited |
|
virtual |
Implements ariles::read::Visitor.
Definition at line 189 of file reader.cpp.
|
inlineinherited |
|
inlineprotectedvirtualinherited |
Reimplemented in ariles::ns_msgpack_compact::Reader.
|
virtual |
Reimplemented from ariles::read::Visitor.
Definition at line 217 of file reader.cpp.
|
protectedinherited |
1.8.15