Public Types | Public Member Functions | Private Member Functions | Private Attributes
ProgramOptions::detail::IntrusiveSharedPtr< T > Class Template Reference

#include <refcountable.h>

List of all members.

Public Types

typedef T element_type

Public Member Functions

int count () const throw ()
T * get () const throw ()
 IntrusiveSharedPtr (T *p=0) throw ()
 IntrusiveSharedPtr (const IntrusiveSharedPtr &o) throw ()
T & operator* () const throw ()
T * operator-> () const throw ()
IntrusiveSharedPtroperator= (const IntrusiveSharedPtr &other)
void reset () throw ()
void swap (IntrusiveSharedPtr &b)
bool unique () const throw ()
 ~IntrusiveSharedPtr () throw ()

Private Member Functions

void addRef () const
void release () const

Private Attributes

T * ptr_

Detailed Description

template<class T>
class ProgramOptions::detail::IntrusiveSharedPtr< T >

Definition at line 37 of file refcountable.h.


Member Typedef Documentation

template<class T >
typedef T ProgramOptions::detail::IntrusiveSharedPtr< T >::element_type

Definition at line 39 of file refcountable.h.


Constructor & Destructor Documentation

template<class T >
ProgramOptions::detail::IntrusiveSharedPtr< T >::IntrusiveSharedPtr ( T *  p = 0) throw () [inline, explicit]

Definition at line 40 of file refcountable.h.

template<class T >
ProgramOptions::detail::IntrusiveSharedPtr< T >::IntrusiveSharedPtr ( const IntrusiveSharedPtr< T > &  o) throw () [inline]

Definition at line 42 of file refcountable.h.

template<class T >
ProgramOptions::detail::IntrusiveSharedPtr< T >::~IntrusiveSharedPtr ( ) throw () [inline]

Definition at line 44 of file refcountable.h.


Member Function Documentation

template<class T >
void ProgramOptions::detail::IntrusiveSharedPtr< T >::addRef ( ) const [inline, private]

Definition at line 64 of file refcountable.h.

template<class T >
int ProgramOptions::detail::IntrusiveSharedPtr< T >::count ( ) const throw () [inline]

Definition at line 56 of file refcountable.h.

template<class T >
T* ProgramOptions::detail::IntrusiveSharedPtr< T >::get ( ) const throw () [inline]

Definition at line 53 of file refcountable.h.

template<class T >
T& ProgramOptions::detail::IntrusiveSharedPtr< T >::operator* ( ) const throw () [inline]

Definition at line 51 of file refcountable.h.

template<class T >
T* ProgramOptions::detail::IntrusiveSharedPtr< T >::operator-> ( ) const throw () [inline]

Definition at line 52 of file refcountable.h.

template<class T >
IntrusiveSharedPtr& ProgramOptions::detail::IntrusiveSharedPtr< T >::operator= ( const IntrusiveSharedPtr< T > &  other) [inline]

Definition at line 45 of file refcountable.h.

template<class T >
void ProgramOptions::detail::IntrusiveSharedPtr< T >::release ( ) const [inline, private]

Definition at line 65 of file refcountable.h.

template<class T >
void ProgramOptions::detail::IntrusiveSharedPtr< T >::reset ( ) throw () [inline]

Definition at line 54 of file refcountable.h.

template<class T >
void ProgramOptions::detail::IntrusiveSharedPtr< T >::swap ( IntrusiveSharedPtr< T > &  b) [inline]

Definition at line 57 of file refcountable.h.

template<class T >
bool ProgramOptions::detail::IntrusiveSharedPtr< T >::unique ( ) const throw () [inline]

Definition at line 55 of file refcountable.h.


Member Data Documentation

template<class T >
T* ProgramOptions::detail::IntrusiveSharedPtr< T >::ptr_ [private]

Definition at line 63 of file refcountable.h.


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


clasp
Author(s): Benjamin Kaufmann
autogenerated on Thu Aug 27 2015 12:41:42