Public Types | Public Member Functions | Private Attributes | List of all members
nlohmann::detail::json_ref< BasicJsonType > Class Template Reference

#include <json.hpp>

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>
 json_ref (Args &&...args)
 
 json_ref (json_ref &&)=default
 
 json_ref (const json_ref &)=delete
 
value_type moved_or_copied () const
 
value_type const & operator* () const
 
value_type const * operator-> () const
 
json_refoperator= (const json_ref &)=delete
 

Private Attributes

const bool is_rvalue
 
value_type owned_value = nullptr
 
value_typevalue_ref = nullptr
 

Detailed Description

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

Definition at line 8877 of file json.hpp.

Member Typedef Documentation

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

Definition at line 8880 of file json.hpp.

Constructor & Destructor Documentation

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

Definition at line 8882 of file json.hpp.

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

Definition at line 8886 of file json.hpp.

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

Definition at line 8890 of file json.hpp.

template<typename BasicJsonType>
template<class... Args>
nlohmann::detail::json_ref< BasicJsonType >::json_ref ( Args &&...  args)
inline

Definition at line 8895 of file json.hpp.

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

Member Function Documentation

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

Definition at line 8904 of file json.hpp.

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

Definition at line 8913 of file json.hpp.

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

Definition at line 8918 of file json.hpp.

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

Member Data Documentation

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

Definition at line 8926 of file json.hpp.

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

Definition at line 8924 of file json.hpp.

template<typename BasicJsonType>
value_type* nlohmann::detail::json_ref< BasicJsonType >::value_ref = nullptr
private

Definition at line 8925 of file json.hpp.


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


json_transport
Author(s): Paul Bovbel
autogenerated on Thu Jun 13 2019 19:12:24