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... | |
bool | getMapEntryNames (std::vector< std::string > &child_names) |
std::size_t | startArray () |
void | shiftArray () |
void | endArray () |
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 void | endMap () |
virtual bool | startRoot (const std::string &name) |
virtual void | endRoot (const std::string &name) |
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 |
Definition at line 31 of file yaml_cpp03.h.
|
protectedinherited |
Definition at line 32 of file yaml_cpp03.h.
|
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 120 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 103 of file reader.cpp.
|
virtual |
Implements ariles::read::Visitor.
Definition at line 167 of file reader.cpp.
|
inlinevirtualinherited |
Reimplemented in ariles::ns_msgpack_compact::Reader.
|
inlinevirtualinherited |
Reimplemented in ariles::ns_msgpack::Reader, and ariles::ns_pugixml::Reader.
|
inlineprotectedinherited |
|
virtual |
Reimplemented from ariles::read::Visitor.
Definition at line 126 of file reader.cpp.
|
protectedvirtual |
Implements ariles::read::Visitor.
Definition at line 96 of file reader.cpp.
|
inlineinherited |
Definition at line 68 of file serialization.h.
|
inlinevirtualinherited |
Implements ariles::serialization::Base.
Definition at line 48 of file yaml_cpp03.h.
|
inlinestaticinherited |
|
inlineinherited |
|
virtual |
Implements ariles::read::Visitor.
Definition at line 157 of file reader.cpp.
|
inlineinherited |
|
virtual |
Implements ariles::read::Visitor.
Definition at line 148 of file reader.cpp.
|
inlineinherited |
|
inlineprotectedvirtualinherited |
Reimplemented in ariles::ns_msgpack_compact::Reader.
|
inlinevirtualinherited |
Reimplemented in ariles::ns_msgpack::Reader, and ariles::ns_pugixml::Reader.
|
protectedinherited |
Definition at line 35 of file yaml_cpp03.h.