neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neolib::json_detail::basic_json_node< T > Class Template Reference

#include <json.hpp>

Public Types

typedef T json_value
 
typedef json_value::value_type value_type
 

Public Member Functions

 basic_json_node ()
 
 basic_json_node (json_value &aParent)
 
 ~basic_json_node ()
 
json_valuebuy_child (json_value &aParent, const value_type &aValue)
 
json_valuebuy_child (json_value &aParent, value_type &&aValue)
 
bool has_parent () const
 
const json_valueparent () const
 
json_valueparent ()
 
bool has_children () const
 
const json_valuefirst_child () const
 
json_valuefirst_child ()
 
const json_valuelast_child () const
 
json_valuelast_child ()
 
bool is_last_sibling () const
 
const json_valuenext_sibling () const
 
json_valuenext_sibling ()
 
const json_valuenext_parent_sibling () const
 
json_valuenext_parent_sibling ()
 

Friends

template<json_syntax Syntax, typename Alloc , typename CharT , typename Traits , typename CharAlloc >
class basic_json_value
 

Detailed Description

template<typename T>
class neolib::json_detail::basic_json_node< T >

Definition at line 150 of file json.hpp.

Member Typedef Documentation

◆ json_value

Definition at line 156 of file json.hpp.

◆ value_type

Definition at line 157 of file json.hpp.

Constructor & Destructor Documentation

◆ basic_json_node() [1/2]

template<typename T >
neolib::json_detail::basic_json_node< T >::basic_json_node ( )
inline

Definition at line 161 of file json.hpp.

◆ basic_json_node() [2/2]

template<typename T >
neolib::json_detail::basic_json_node< T >::basic_json_node ( json_value aParent)
inline

Definition at line 169 of file json.hpp.

◆ ~basic_json_node()

Definition at line 177 of file json.hpp.

Member Function Documentation

◆ buy_child() [1/2]

template<typename T >
json_value * neolib::json_detail::basic_json_node< T >::buy_child ( json_value aParent,
const value_type aValue 
)
inline

Definition at line 183 of file json.hpp.

◆ buy_child() [2/2]

template<typename T >
json_value * neolib::json_detail::basic_json_node< T >::buy_child ( json_value aParent,
value_type &&  aValue 
)
inline

Definition at line 187 of file json.hpp.

◆ first_child() [1/2]

template<typename T >
json_value * neolib::json_detail::basic_json_node< T >::first_child ( )
inline

Definition at line 212 of file json.hpp.

◆ first_child() [2/2]

template<typename T >
const json_value * neolib::json_detail::basic_json_node< T >::first_child ( ) const
inline

Definition at line 208 of file json.hpp.

◆ has_children()

template<typename T >
bool neolib::json_detail::basic_json_node< T >::has_children ( ) const
inline

Definition at line 204 of file json.hpp.

◆ has_parent()

template<typename T >
bool neolib::json_detail::basic_json_node< T >::has_parent ( ) const
inline

Definition at line 192 of file json.hpp.

◆ is_last_sibling()

template<typename T >
bool neolib::json_detail::basic_json_node< T >::is_last_sibling ( ) const
inline

Definition at line 224 of file json.hpp.

◆ last_child() [1/2]

template<typename T >
json_value * neolib::json_detail::basic_json_node< T >::last_child ( )
inline

Definition at line 220 of file json.hpp.

◆ last_child() [2/2]

template<typename T >
const json_value * neolib::json_detail::basic_json_node< T >::last_child ( ) const
inline

Definition at line 216 of file json.hpp.

◆ next_parent_sibling() [1/2]

template<typename T >
json_value * neolib::json_detail::basic_json_node< T >::next_parent_sibling ( )
inline

Definition at line 245 of file json.hpp.

◆ next_parent_sibling() [2/2]

template<typename T >
const json_value * neolib::json_detail::basic_json_node< T >::next_parent_sibling ( ) const
inline

Definition at line 236 of file json.hpp.

◆ next_sibling() [1/2]

template<typename T >
json_value * neolib::json_detail::basic_json_node< T >::next_sibling ( )
inline

Definition at line 232 of file json.hpp.

◆ next_sibling() [2/2]

template<typename T >
const json_value * neolib::json_detail::basic_json_node< T >::next_sibling ( ) const
inline

Definition at line 228 of file json.hpp.

◆ parent() [1/2]

template<typename T >
json_value * neolib::json_detail::basic_json_node< T >::parent ( )
inline

Definition at line 200 of file json.hpp.

◆ parent() [2/2]

template<typename T >
const json_value * neolib::json_detail::basic_json_node< T >::parent ( ) const
inline

Definition at line 196 of file json.hpp.

Friends And Related Symbol Documentation

◆ basic_json_value

Definition at line 154 of file json.hpp.


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