Ariles
Public Types | Public Member Functions | Public Attributes | List of all members
ariles2::ns_rapidjson::ImplBase< t_Node > Class Template Reference

Detailed Description

template<class t_Node>
class ariles2::ns_rapidjson::ImplBase< t_Node >

Definition at line 33 of file common.h.

#include <common.h>

Public Types

typedef serialization::Node< t_Node * > NodeWrapper
 

Public Member Functions

t_Node & getRawNode (const std::size_t depth)
 Get current node. More...
 
t_Node & getRawNode ()
 

Public Attributes

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

Member Typedef Documentation

◆ NodeWrapper

template<class t_Node >
typedef serialization::Node<t_Node *> ariles2::ns_rapidjson::ImplBase< t_Node >::NodeWrapper

Definition at line 36 of file common.h.

Member Function Documentation

◆ getRawNode() [1/2]

template<class t_Node >
t_Node& ariles2::ns_rapidjson::ImplBase< t_Node >::getRawNode ( )
inline

Definition at line 64 of file common.h.

◆ getRawNode() [2/2]

template<class t_Node >
t_Node& ariles2::ns_rapidjson::ImplBase< t_Node >::getRawNode ( const std::size_t  depth)
inline

Get current node.

Returns
pointer to the current node

Definition at line 53 of file common.h.

Member Data Documentation

◆ document_

template<class t_Node >
::rapidjson::Document ariles2::ns_rapidjson::ImplBase< t_Node >::document_

instance of the parser

Definition at line 41 of file common.h.

◆ node_stack_

template<class t_Node >
std::vector<NodeWrapper> ariles2::ns_rapidjson::ImplBase< t_Node >::node_stack_

Stack of nodes.

Definition at line 44 of file common.h.


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