Ariles
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
ariles2::ns_msgpack_compact::impl::Reader Class Reference

Detailed Description

Definition at line 36 of file reader_compact.cpp.

Inheritance diagram for ariles2::ns_msgpack_compact::impl::Reader:
ariles2::serialization::NodeStackBase< NodeWrapper > ariles2::read::FileVisitorImplementation

Public Member Functions

template<class... t_Args>
 Reader (t_Args &&...args)
 
void initialize ()
 open configuration file More...
 
const ::msgpack::object & getRawNode (const std::size_t depth)
 Get current node. More...
 
const ::msgpack::object & getRawNode ()
 
NodeWrapperback ()
 
const NodeWrapperback () const
 
void clear ()
 
void emplace (t_Args &&...args)
 
void pop ()
 
void shiftArray ()
 
bool empty () const
 
std::string concatWithNode (t_String &&...strings) const
 
void concatWithNodeAndEmplace (t_String &&...strings)
 

Public Attributes

std::string buffer_
 
::msgpack::object_handle handle_
 
std::vector< NodeWrappernode_stack_
 

Protected Member Functions

void openFile (const std::string &file_name)
 open configuration file More...
 

Protected Attributes

std::ifstream config_ifs_
 
std::istream * input_stream_
 

Constructor & Destructor Documentation

◆ Reader()

template<class... t_Args>
ariles2::ns_msgpack_compact::impl::Reader::Reader ( t_Args &&...  args)
inlineexplicit

Definition at line 46 of file reader_compact.cpp.

Member Function Documentation

◆ back() [1/2]

Definition at line 131 of file serialization.h.

◆ back() [2/2]

const NodeWrapper & ariles2::serialization::NodeStackBase< NodeWrapper >::back ( ) const
inlineinherited

Definition at line 136 of file serialization.h.

◆ clear()

void ariles2::serialization::NodeStackBase< NodeWrapper >::clear ( )
inlineinherited

Definition at line 141 of file serialization.h.

◆ concatWithNode()

std::string ariles2::serialization::NodeStackBase< NodeWrapper >::concatWithNode ( t_String &&...  strings) const
inlineinherited

Definition at line 170 of file serialization.h.

◆ concatWithNodeAndEmplace()

void ariles2::serialization::NodeStackBase< NodeWrapper >::concatWithNodeAndEmplace ( t_String &&...  strings)
inlineinherited

Definition at line 176 of file serialization.h.

◆ emplace()

void ariles2::serialization::NodeStackBase< NodeWrapper >::emplace ( t_Args &&...  args)
inlineinherited

Definition at line 147 of file serialization.h.

◆ empty()

bool ariles2::serialization::NodeStackBase< NodeWrapper >::empty ( ) const
inlineinherited

Definition at line 163 of file serialization.h.

◆ getRawNode() [1/2]

const ::msgpack::object& ariles2::ns_msgpack_compact::impl::Reader::getRawNode ( )
inline

Definition at line 88 of file reader_compact.cpp.

◆ getRawNode() [2/2]

const ::msgpack::object& ariles2::ns_msgpack_compact::impl::Reader::getRawNode ( const std::size_t  depth)
inline

Get current node.

Returns
pointer to the current node

Definition at line 78 of file reader_compact.cpp.

◆ initialize()

void ariles2::ns_msgpack_compact::impl::Reader::initialize ( )
inline

open configuration file

Definition at line 55 of file reader_compact.cpp.

◆ openFile()

void ariles2::read::FileVisitorImplementation::openFile ( const std::string &  file_name)
inlineprotectedinherited

open configuration file

Parameters
[in]file_name

Definition at line 516 of file read.h.

◆ pop()

void ariles2::serialization::NodeStackBase< NodeWrapper >::pop ( )
inlineinherited

Definition at line 152 of file serialization.h.

◆ shiftArray()

void ariles2::serialization::NodeStackBase< NodeWrapper >::shiftArray ( )
inlineinherited

Definition at line 157 of file serialization.h.

Member Data Documentation

◆ buffer_

std::string ariles2::ns_msgpack_compact::impl::Reader::buffer_

Definition at line 39 of file reader_compact.cpp.

◆ config_ifs_

std::ifstream ariles2::read::FileVisitorImplementation::config_ifs_
protectedinherited

Definition at line 492 of file read.h.

◆ handle_

::msgpack::object_handle ariles2::ns_msgpack_compact::impl::Reader::handle_

Definition at line 41 of file reader_compact.cpp.

◆ input_stream_

std::istream* ariles2::read::FileVisitorImplementation::input_stream_
protectedinherited

Definition at line 494 of file read.h.

◆ node_stack_

std::vector<NodeWrapper > ariles2::serialization::NodeStackBase< NodeWrapper >::node_stack_
inherited

Definition at line 128 of file serialization.h.


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