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

#include <json.hpp>

Public Types

typedef T json_value
 
typedef json_value::value_type value_type
 
typedef json_value::json_string json_string
 

Public Member Functions

 basic_json_array ()
 
 basic_json_array (json_value &aOwner)
 
array_type::const_iterator cbegin () const
 
array_type::const_iterator cend () const
 
array_type::const_iterator begin () const
 
array_type::const_iterator end () const
 
array_type::iterator begin ()
 
array_type::iterator end ()
 
json_valuepush_back (const value_type &aValue)
 
json_valuepush_back (value_type &&aValue)
 
json_valueback ()
 
json_valueoperator[] (std::size_t aIndex)
 
json_valuecontents () const
 
void set_contents (json_value &aOwner)
 

Friends

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

Detailed Description

template<typename T>
class neolib::basic_json_array< T >

Definition at line 418 of file json.hpp.

Member Typedef Documentation

◆ json_string

Definition at line 428 of file json.hpp.

◆ json_value

template<typename T >
typedef T neolib::basic_json_array< T >::json_value

Definition at line 426 of file json.hpp.

◆ value_type

Definition at line 427 of file json.hpp.

Constructor & Destructor Documentation

◆ basic_json_array() [1/2]

template<typename T >
neolib::basic_json_array< T >::basic_json_array ( )
inline

Definition at line 433 of file json.hpp.

◆ basic_json_array() [2/2]

template<typename T >
neolib::basic_json_array< T >::basic_json_array ( json_value aOwner)
inline

Definition at line 437 of file json.hpp.

Member Function Documentation

◆ back()

template<typename T >
json_value & neolib::basic_json_array< T >::back ( )
inline

Definition at line 479 of file json.hpp.

◆ begin() [1/2]

template<typename T >
array_type::iterator neolib::basic_json_array< T >::begin ( )
inline

Definition at line 458 of file json.hpp.

◆ begin() [2/2]

template<typename T >
array_type::const_iterator neolib::basic_json_array< T >::begin ( ) const
inline

Definition at line 450 of file json.hpp.

◆ cbegin()

template<typename T >
array_type::const_iterator neolib::basic_json_array< T >::cbegin ( ) const
inline

Definition at line 442 of file json.hpp.

◆ cend()

template<typename T >
array_type::const_iterator neolib::basic_json_array< T >::cend ( ) const
inline

Definition at line 446 of file json.hpp.

◆ contents()

template<typename T >
json_value & neolib::basic_json_array< T >::contents ( ) const
inline

Definition at line 488 of file json.hpp.

◆ end() [1/2]

template<typename T >
array_type::iterator neolib::basic_json_array< T >::end ( )
inline

Definition at line 462 of file json.hpp.

◆ end() [2/2]

template<typename T >
array_type::const_iterator neolib::basic_json_array< T >::end ( ) const
inline

Definition at line 454 of file json.hpp.

◆ operator[]()

template<typename T >
json_value & neolib::basic_json_array< T >::operator[] ( std::size_t  aIndex)
inline

Definition at line 483 of file json.hpp.

◆ push_back() [1/2]

template<typename T >
json_value & neolib::basic_json_array< T >::push_back ( const value_type aValue)
inline

Definition at line 467 of file json.hpp.

◆ push_back() [2/2]

template<typename T >
json_value & neolib::basic_json_array< T >::push_back ( value_type &&  aValue)
inline

Definition at line 473 of file json.hpp.

◆ set_contents()

template<typename T >
void neolib::basic_json_array< T >::set_contents ( json_value aOwner)
inline

Definition at line 494 of file json.hpp.

Friends And Related Symbol Documentation

◆ basic_json

template<typename T >
friend class basic_json
friend

Definition at line 422 of file json.hpp.

◆ basic_json_value

Definition at line 424 of file json.hpp.


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