Public Types | Public Member Functions | Private Attributes | List of all members
backward::details::handle< T, Deleter > Class Template Reference

#include <backward.hpp>

Public Types

typedef const rm_ptr< T >::type & const_ref_t
 
typedef rm_ptr< T >::type & ref_t
 

Public Member Functions

get ()
 
 handle ()
 
 handle (T val)
 
 handle (const handle &from)
 
 operator const dummy * () const
 
T * operator& ()
 
ref_t operator* ()
 
const_ref_t operator* () const
 
operator-> ()
 
const T operator-> () const
 
handleoperator= (const handle &from)
 
ref_t operator[] (size_t idx)
 
release ()
 
void reset (T new_val)
 
void swap (handle &b)
 
 ~handle ()
 

Private Attributes

bool _empty
 
_val
 

Detailed Description

template<typename T, typename Deleter = deleter<void, void*, &::free>>
class backward::details::handle< T, Deleter >

Definition at line 312 of file backward.hpp.

Member Typedef Documentation

template<typename T, typename Deleter = deleter<void, void*, &::free>>
typedef const rm_ptr<T>::type& backward::details::handle< T, Deleter >::const_ref_t

Definition at line 378 of file backward.hpp.

template<typename T, typename Deleter = deleter<void, void*, &::free>>
typedef rm_ptr<T>::type& backward::details::handle< T, Deleter >::ref_t

Definition at line 377 of file backward.hpp.

Constructor & Destructor Documentation

template<typename T, typename Deleter = deleter<void, void*, &::free>>
backward::details::handle< T, Deleter >::~handle ( )
inline

Definition at line 323 of file backward.hpp.

template<typename T, typename Deleter = deleter<void, void*, &::free>>
backward::details::handle< T, Deleter >::handle ( )
inlineexplicit

Definition at line 329 of file backward.hpp.

template<typename T, typename Deleter = deleter<void, void*, &::free>>
backward::details::handle< T, Deleter >::handle ( val)
inlineexplicit

Definition at line 330 of file backward.hpp.

template<typename T, typename Deleter = deleter<void, void*, &::free>>
backward::details::handle< T, Deleter >::handle ( const handle< T, Deleter > &  from)
inlineexplicit

Definition at line 340 of file backward.hpp.

Member Function Documentation

template<typename T, typename Deleter = deleter<void, void*, &::free>>
T backward::details::handle< T, Deleter >::get ( )
inline

Definition at line 360 of file backward.hpp.

template<typename T, typename Deleter = deleter<void, void*, &::free>>
backward::details::handle< T, Deleter >::operator const dummy * ( ) const
inline

Definition at line 354 of file backward.hpp.

template<typename T, typename Deleter = deleter<void, void*, &::free>>
T* backward::details::handle< T, Deleter >::operator& ( )
inline

Definition at line 384 of file backward.hpp.

template<typename T, typename Deleter = deleter<void, void*, &::free>>
ref_t backward::details::handle< T, Deleter >::operator* ( )
inline

Definition at line 379 of file backward.hpp.

template<typename T, typename Deleter = deleter<void, void*, &::free>>
const_ref_t backward::details::handle< T, Deleter >::operator* ( ) const
inline

Definition at line 380 of file backward.hpp.

template<typename T, typename Deleter = deleter<void, void*, &::free>>
T backward::details::handle< T, Deleter >::operator-> ( )
inline

Definition at line 374 of file backward.hpp.

template<typename T, typename Deleter = deleter<void, void*, &::free>>
const T backward::details::handle< T, Deleter >::operator-> ( ) const
inline

Definition at line 375 of file backward.hpp.

template<typename T, typename Deleter = deleter<void, void*, &::free>>
handle& backward::details::handle< T, Deleter >::operator= ( const handle< T, Deleter > &  from)
inline

Definition at line 344 of file backward.hpp.

template<typename T, typename Deleter = deleter<void, void*, &::free>>
ref_t backward::details::handle< T, Deleter >::operator[] ( size_t  idx)
inline

Definition at line 381 of file backward.hpp.

template<typename T, typename Deleter = deleter<void, void*, &::free>>
T backward::details::handle< T, Deleter >::release ( )
inline

Definition at line 363 of file backward.hpp.

template<typename T, typename Deleter = deleter<void, void*, &::free>>
void backward::details::handle< T, Deleter >::reset ( new_val)
inline

Definition at line 350 of file backward.hpp.

template<typename T, typename Deleter = deleter<void, void*, &::free>>
void backward::details::handle< T, Deleter >::swap ( handle< T, Deleter > &  b)
inline

Definition at line 367 of file backward.hpp.

Member Data Documentation

template<typename T, typename Deleter = deleter<void, void*, &::free>>
bool backward::details::handle< T, Deleter >::_empty
private

Definition at line 315 of file backward.hpp.

template<typename T, typename Deleter = deleter<void, void*, &::free>>
T backward::details::handle< T, Deleter >::_val
private

Definition at line 313 of file backward.hpp.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Sat Jul 6 2019 03:44:19