JXXON object mapper library
JXXON::Json::Array< T, Base, Args > Class Template Reference

#include <Json.h>

Inheritance diagram for JXXON::Json::Array< T, Base, Args >:
Collaboration diagram for JXXON::Json::Array< T, Base, Args >:

Public Member Functions

 Array ()
 Construct empty array.
 
 Array (typename Base< T, Args... >::size_type n)
 Construct array of size n of default constructed elements.
 
 Array (typename Base< T, Args... >::size_type n, const T &value)
 Construct array of size n of copy of value constructed elements.
 
template<typename InputIterator >
 Array (InputIterator first, InputIterator last)
 Construct array with emplace constructed elements of range [first, last).
 
 Array (const Array &other)
 Copy construct array.
 
 Array (Array &&other)
 Move construct array.
 
 Array (std::initializer_list< T > initializerList)
 Initializer list constructor.
 
 Array (const typename Base< T, Args... >::DelegateType &other)
 Copy construct array from delegate type.
 
 Array (typename Base< T, Args... >::DelegateType &&other)
 Move construct array from delegate type.
 
 Array (const Json &json)
 Construct array from Json object.
 
 ~Array ()
 Virtual destructor.
 
Arrayoperator= (const Array &other)
 Copy assign array.
 
Arrayoperator= (Array &&other)
 Move assign array.
 
Arrayoperator= (std::initializer_list< T > initializerList)
 Initializer list assignment.
 
Arrayoperator= (const typename Base< T, Args... >::DelegateType &other)
 Copy assign delegate type array.
 
Arrayoperator= (typename Base< T, Args... >::DelegateType &&other)
 Move assign delegate type array.
 
virtual Json toJson () const override
 Return Json object.
 

Detailed Description

template<typename T, template< typename, typename... > class Base, typename... Args>
class JXXON::Json::Array< T, Base, Args >

Extension of Base<T, Args...> implementing JXXON::Serializable. Use alias templates JXXON::Vector, JXXON::Deque, JXXON::List, JXXON::Set, JXXON::Multiset, JXXON::UnorderedSet, JXXON::UnorderedMultiset for referring actual instantiations.


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