reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
resip::Handle< T > Class Template Reference

#include <Handle.hxx>

Public Member Functions

 Handle (HandleManager &ham, Handled::Id id)
 
 Handle ()
 
bool isValid () const
 
T * get ()
 
const T * get () const
 
T * operator-> ()
 
const T * operator-> () const
 
T & operator* ()
 
const T & operator* () const
 
Handled::Id getId () const
 
bool operator== (const Handle< T > &other)
 
bool operator!= (const Handle< T > &other)
 
bool operator< (const Handle< T > &other) const
 

Static Public Member Functions

static Handle< T > NotValid ()
 

Protected Attributes

Handled::Id mId
 

Friends

class Handled
 

Detailed Description

template<class T>
class resip::Handle< T >

Definition at line 14 of file Handle.hxx.

Constructor & Destructor Documentation

◆ Handle() [1/2]

template<class T >
resip::Handle< T >::Handle ( HandleManager &  ham,
Handled::Id  id 
)
inline

Definition at line 17 of file Handle.hxx.

◆ Handle() [2/2]

template<class T >
resip::Handle< T >::Handle ( )
inline

Definition at line 21 of file Handle.hxx.

Member Function Documentation

◆ get() [1/2]

template<class T >
T * resip::Handle< T >::get ( )
inline

Definition at line 38 of file Handle.hxx.

◆ get() [2/2]

template<class T >
const T * resip::Handle< T >::get ( ) const
inline

Definition at line 48 of file Handle.hxx.

◆ getId()

template<class T >
Handled::Id resip::Handle< T >::getId ( ) const
inline

Definition at line 79 of file Handle.hxx.

◆ isValid()

template<class T >
bool resip::Handle< T >::isValid ( ) const
inline

Definition at line 25 of file Handle.hxx.

◆ NotValid()

template<class T >
static Handle< T > resip::Handle< T >::NotValid ( )
inlinestatic

Definition at line 84 of file Handle.hxx.

◆ operator!=()

template<class T >
bool resip::Handle< T >::operator!= ( const Handle< T > &  other)
inline

Definition at line 95 of file Handle.hxx.

◆ operator*() [1/2]

template<class T >
T & resip::Handle< T >::operator* ( )
inline

Definition at line 68 of file Handle.hxx.

◆ operator*() [2/2]

template<class T >
const T & resip::Handle< T >::operator* ( ) const
inline

Definition at line 73 of file Handle.hxx.

◆ operator->() [1/2]

template<class T >
T * resip::Handle< T >::operator-> ( )
inline

Definition at line 58 of file Handle.hxx.

◆ operator->() [2/2]

template<class T >
const T * resip::Handle< T >::operator-> ( ) const
inline

Definition at line 63 of file Handle.hxx.

◆ operator<()

template<class T >
bool resip::Handle< T >::operator< ( const Handle< T > &  other) const
inline

Definition at line 101 of file Handle.hxx.

◆ operator==()

template<class T >
bool resip::Handle< T >::operator== ( const Handle< T > &  other)
inline

Definition at line 90 of file Handle.hxx.

Friends And Related Symbol Documentation

◆ Handled

template<class T >
friend class Handled
friend

Definition at line 114 of file Handle.hxx.

Member Data Documentation

◆ mId

template<class T >
Handled::Id resip::Handle< T >::mId
protected

Definition at line 112 of file Handle.hxx.


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