MUQ  0.4.3
nlohmann::detail::json_ref< BasicJsonType > Class Template Reference

#include <json.h>

Detailed Description

template<typename BasicJsonType>
class nlohmann::detail::json_ref< BasicJsonType >

Definition at line 12527 of file json.h.

Public Types

using value_type = BasicJsonType
 

Public Member Functions

 json_ref (value_type &&value)
 
 json_ref (const value_type &value)
 
 json_ref (std::initializer_list< json_ref > init)
 
template<class... Args, enable_if_t< std::is_constructible< value_type, Args... >::value, int > = 0>
 json_ref (Args &&... args)
 
 json_ref (json_ref &&)=default
 
 json_ref (const json_ref &)=delete
 
json_refoperator= (const json_ref &)=delete
 
json_refoperator= (json_ref &&)=delete
 
 ~json_ref ()=default
 
value_type moved_or_copied () const
 
value_type const & operator* () const
 
value_type const * operator-> () const
 

Member Typedef Documentation

◆ value_type

template<typename BasicJsonType >
using nlohmann::detail::json_ref< BasicJsonType >::value_type = BasicJsonType

Definition at line 12530 of file json.h.

Constructor & Destructor Documentation

◆ json_ref() [1/6]

template<typename BasicJsonType >
nlohmann::detail::json_ref< BasicJsonType >::json_ref ( value_type &&  value)
inline

Definition at line 12532 of file json.h.

◆ json_ref() [2/6]

template<typename BasicJsonType >
nlohmann::detail::json_ref< BasicJsonType >::json_ref ( const value_type value)
inline

Definition at line 12538 of file json.h.

◆ json_ref() [3/6]

template<typename BasicJsonType >
nlohmann::detail::json_ref< BasicJsonType >::json_ref ( std::initializer_list< json_ref< BasicJsonType > >  init)
inline

Definition at line 12543 of file json.h.

◆ json_ref() [4/6]

template<typename BasicJsonType >
template<class... Args, enable_if_t< std::is_constructible< value_type, Args... >::value, int > = 0>
nlohmann::detail::json_ref< BasicJsonType >::json_ref ( Args &&...  args)
inline

Definition at line 12552 of file json.h.

◆ json_ref() [5/6]

template<typename BasicJsonType >
nlohmann::detail::json_ref< BasicJsonType >::json_ref ( json_ref< BasicJsonType > &&  )
default

◆ json_ref() [6/6]

template<typename BasicJsonType >
nlohmann::detail::json_ref< BasicJsonType >::json_ref ( const json_ref< BasicJsonType > &  )
delete

◆ ~json_ref()

template<typename BasicJsonType >
nlohmann::detail::json_ref< BasicJsonType >::~json_ref ( )
default

Member Function Documentation

◆ moved_or_copied()

template<typename BasicJsonType >
value_type nlohmann::detail::json_ref< BasicJsonType >::moved_or_copied ( ) const
inline

◆ operator*()

template<typename BasicJsonType >
value_type const& nlohmann::detail::json_ref< BasicJsonType >::operator* ( ) const
inline

Definition at line 12574 of file json.h.

References nlohmann::detail::json_ref< BasicJsonType >::value_ref.

◆ operator->()

template<typename BasicJsonType >
value_type const* nlohmann::detail::json_ref< BasicJsonType >::operator-> ( ) const
inline

Definition at line 12579 of file json.h.

References nlohmann::detail::json_ref< BasicJsonType >::value_ref.

◆ operator=() [1/2]

template<typename BasicJsonType >
json_ref& nlohmann::detail::json_ref< BasicJsonType >::operator= ( const json_ref< BasicJsonType > &  )
delete

◆ operator=() [2/2]

template<typename BasicJsonType >
json_ref& nlohmann::detail::json_ref< BasicJsonType >::operator= ( json_ref< BasicJsonType > &&  )
delete

Member Data Documentation

◆ is_rvalue

template<typename BasicJsonType >
const bool nlohmann::detail::json_ref< BasicJsonType >::is_rvalue = true
private

◆ owned_value

template<typename BasicJsonType >
value_type nlohmann::detail::json_ref< BasicJsonType >::owned_value = nullptr
mutableprivate

Definition at line 12585 of file json.h.

◆ value_ref


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