Goby3  3.1.5a
2024.05.23
detail::json_ref< BasicJsonType > Class Template Reference

#include <goby/util/thirdparty/nlohmann/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, enable_if_t< std::is_constructible< value_type, Args... >::value, int > = 0>
 json_ref (Args &&... args)
 
 json_ref (json_ref &&) noexcept=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
 

Detailed Description

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

Definition at line 3465 of file json.hpp.

Member Typedef Documentation

◆ value_type

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

Definition at line 14698 of file json.hpp.

Constructor & Destructor Documentation

◆ json_ref() [1/6]

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

Definition at line 14700 of file json.hpp.

◆ json_ref() [2/6]

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

Definition at line 14704 of file json.hpp.

◆ json_ref() [3/6]

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

Definition at line 14708 of file json.hpp.

◆ json_ref() [4/6]

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

Definition at line 14715 of file json.hpp.

◆ json_ref() [5/6]

template<typename BasicJsonType >
detail::json_ref< BasicJsonType >::json_ref ( json_ref< BasicJsonType > &&  )
defaultnoexcept

◆ json_ref() [6/6]

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

◆ ~json_ref()

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

Member Function Documentation

◆ moved_or_copied()

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

Definition at line 14726 of file json.hpp.

◆ operator*()

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

Definition at line 14735 of file json.hpp.

◆ operator->()

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

Definition at line 14740 of file json.hpp.

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

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