Ariles
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
ariles2::ns_nlohmann_json::ImplBase< t_Node > Class Template Reference

Detailed Description

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

Definition at line 22 of file common.h.

#include <common.h>

Inheritance diagram for ariles2::ns_nlohmann_json::ImplBase< t_Node >:
ariles2::serialization::NodeStackBase< serialization::Node< t_Node * > >

Public Member Functions

t_Node & getRawNode (const std::size_t depth)
 Get current node.
 
const t_Node & getRawNode () const
 
t_Node & getRawNode ()
 
serialization::Node< t_Node * > & back ()
 
const serialization::Node< t_Node * > & back () 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

::nlohmann::ordered_json document_
 instance of the JSON value
 
std::vector< serialization::Node< t_Node * > > node_stack_
 

Member Function Documentation

◆ back() [1/2]

serialization::Node< t_Node * > & ariles2::serialization::NodeStackBase< serialization::Node< t_Node * > >::back ( )
inlineinherited

Definition at line 131 of file serialization.h.

◆ back() [2/2]

const serialization::Node< t_Node * > & ariles2::serialization::NodeStackBase< serialization::Node< t_Node * > >::back ( ) const
inlineinherited

Definition at line 136 of file serialization.h.

◆ clear()

void ariles2::serialization::NodeStackBase< serialization::Node< t_Node * > >::clear ( )
inlineinherited

Definition at line 141 of file serialization.h.

◆ concatWithNode()

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

Definition at line 170 of file serialization.h.

◆ concatWithNodeAndEmplace()

void ariles2::serialization::NodeStackBase< serialization::Node< t_Node * > >::concatWithNodeAndEmplace ( t_String &&...  strings)
inlineinherited

Definition at line 176 of file serialization.h.

◆ emplace()

void ariles2::serialization::NodeStackBase< serialization::Node< t_Node * > >::emplace ( t_Args &&...  args)
inlineinherited

Definition at line 147 of file serialization.h.

◆ empty()

bool ariles2::serialization::NodeStackBase< serialization::Node< t_Node * > >::empty ( ) const
inlineinherited

Definition at line 163 of file serialization.h.

◆ getRawNode() [1/3]

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

Definition at line 72 of file common.h.

◆ getRawNode() [2/3]

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

Definition at line 49 of file common.h.

◆ getRawNode() [3/3]

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

Get current node.

Returns
reference to the current node

Definition at line 38 of file common.h.

◆ pop()

void ariles2::serialization::NodeStackBase< serialization::Node< t_Node * > >::pop ( )
inlineinherited

Definition at line 152 of file serialization.h.

◆ shiftArray()

void ariles2::serialization::NodeStackBase< serialization::Node< t_Node * > >::shiftArray ( )
inlineinherited

Definition at line 157 of file serialization.h.

Member Data Documentation

◆ document_

template<class t_Node >
::nlohmann::ordered_json ariles2::ns_nlohmann_json::ImplBase< t_Node >::document_

instance of the JSON value

Definition at line 29 of file common.h.

◆ node_stack_

std::vector<serialization::Node< t_Node * > > ariles2::serialization::NodeStackBase< serialization::Node< t_Node * > >::node_stack_
inherited

Definition at line 128 of file serialization.h.


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