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

#include <Json.h>

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

Public Member Functions

 Map ()
 Construct empty map.
 
template<typename InputIterator >
 Map (InputIterator first, InputIterator last)
 Construct map with emplace constructed elements of range [first, last).
 
 Map (const Map &other)
 Copy construct map.
 
 Map (Map &&other)
 Move construct map.
 
 Map (std::initializer_list< std::pair< const std::string, T >> initializerList)
 Initializer list constructor.
 
 Map (const typename Base< T, Args... >::DelegateType &other)
 Copy construct map from delegate type.
 
 Map (typename Base< T, Args... >::DelegateType &&other)
 Move construct map from delegate type.
 
 Map (const Json &json)
 Construct map from Json object.
 
 ~Map ()
 Virtual destructor.
 
Mapoperator= (const Map &other)
 Copy assign map.
 
Mapoperator= (Map &&other)
 Move assign map.
 
Mapoperator= (std::initializer_list< std::pair< const std::string, T >> initializerList)
 Initializer list assignment.
 
Mapoperator= (const typename Base< T, Args... >::DelegateType &other)
 Copy assign delegate type map.
 
Mapoperator= (typename Base< T, Args... >::DelegateType &&other)
 Move assign delegate type map.
 
virtual Json toJson () const override
 Return Json object.
 

Detailed Description

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

Extension of Base<T, Args...> implementing JXXON::Serializable. Use alias templates JXXON::Map and JXXON::UnorderedMap for referring actual instantiations.


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