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

Detailed Description

Definition at line 22 of file reader.cpp.

Inheritance diagram for ariles2::ns_rapidjson::impl::Reader:
ariles2::ns_rapidjson::ImplBase< const ::rapidjson::Value >

Public Types

typedef serialization::Node< const ::rapidjson::Value * > NodeWrapper
 

Public Member Functions

void initialize (std::istream &input_stream)
 
const ::rapidjson::Value & getRawNode (const std::size_t depth)
 Get current node. More...
 
const ::rapidjson::Value & getRawNode ()
 

Public Attributes

std::vector< ::rapidjson::Value::ConstMemberIterator > iterator_stack_
 
::rapidjson::Document document_
 instance of the parser More...
 
std::vector< NodeWrappernode_stack_
 Stack of nodes. More...
 

Member Typedef Documentation

◆ NodeWrapper

typedef serialization::Node<const ::rapidjson::Value *> ariles2::ns_rapidjson::ImplBase< const ::rapidjson::Value >::NodeWrapper
inherited

Definition at line 36 of file common.h.

Member Function Documentation

◆ getRawNode() [1/2]

const ::rapidjson::Value & ariles2::ns_rapidjson::ImplBase< const ::rapidjson::Value >::getRawNode
inlineinherited

Definition at line 64 of file common.h.

◆ getRawNode() [2/2]

const ::rapidjson::Value & ariles2::ns_rapidjson::ImplBase< const ::rapidjson::Value >::getRawNode ( const std::size_t  depth)
inlineinherited

Get current node.

Returns
pointer to the current node

Definition at line 53 of file common.h.

◆ initialize()

void ariles2::ns_rapidjson::impl::Reader::initialize ( std::istream &  input_stream)
inline

Definition at line 28 of file reader.cpp.

Member Data Documentation

◆ document_

::rapidjson::Document ariles2::ns_rapidjson::ImplBase< const ::rapidjson::Value >::document_
inherited

instance of the parser

Definition at line 41 of file common.h.

◆ iterator_stack_

std::vector< ::rapidjson::Value::ConstMemberIterator> ariles2::ns_rapidjson::impl::Reader::iterator_stack_

Definition at line 25 of file reader.cpp.

◆ node_stack_

std::vector<NodeWrapper> ariles2::ns_rapidjson::ImplBase< const ::rapidjson::Value >::node_stack_
inherited

Stack of nodes.

Definition at line 44 of file common.h.


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