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

#include <backward.hpp>

Public Types

typedef rm_ptr< T >::type & ref_t
 

Public Member Functions

get ()
 
 handle ()
 
 handle (const handle &from)
 
 handle (T val)
 
 operator const dummy * () const
 
T * operator& ()
 
ref_t operator* ()
 
const_ref_t operator* () const
 
T & 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)
 
void update (T new_val)
 
 ~handle ()
 

Public Attributes

const typedef rm_ptr< T >::type & const_ref_t
 

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 485 of file backward.hpp.

Member Typedef Documentation

◆ ref_t

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

Definition at line 557 of file backward.hpp.

Constructor & Destructor Documentation

◆ ~handle()

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

Definition at line 496 of file backward.hpp.

◆ handle() [1/3]

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

Definition at line 502 of file backward.hpp.

◆ handle() [2/3]

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

Definition at line 503 of file backward.hpp.

◆ handle() [3/3]

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

Definition at line 515 of file backward.hpp.

Member Function Documentation

◆ get()

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

Definition at line 542 of file backward.hpp.

◆ operator const dummy *()

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

Definition at line 536 of file backward.hpp.

◆ operator&()

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

Definition at line 564 of file backward.hpp.

◆ operator*() [1/2]

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

Definition at line 559 of file backward.hpp.

◆ operator*() [2/2]

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

Definition at line 560 of file backward.hpp.

◆ operator->() [1/2]

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

Definition at line 554 of file backward.hpp.

◆ operator->() [2/2]

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

Definition at line 555 of file backward.hpp.

◆ operator=()

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 519 of file backward.hpp.

◆ operator[]()

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

Definition at line 561 of file backward.hpp.

◆ release()

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

Definition at line 543 of file backward.hpp.

◆ reset()

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

Definition at line 526 of file backward.hpp.

◆ swap()

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

Definition at line 547 of file backward.hpp.

◆ update()

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

Definition at line 531 of file backward.hpp.

Member Data Documentation

◆ _empty

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

Definition at line 488 of file backward.hpp.

◆ _val

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

Definition at line 486 of file backward.hpp.

◆ const_ref_t

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

Definition at line 558 of file backward.hpp.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:51