Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
us::ExplicitlySharedDataPointer< T > Class Template Reference

#include <usSharedData.h>

Inheritance diagram for us::ExplicitlySharedDataPointer< T >:

Public Types

typedef T Type
 
typedef T * pointer
 

Public Member Functions

T & operator* () const
 
T * operator-> ()
 
T * operator-> () const
 
T * Data () const
 
const T * ConstData () const
 
void Detach ()
 
void Reset ()
 
 operator bool () const
 
bool operator== (const ExplicitlySharedDataPointer< T > &other) const
 
bool operator!= (const ExplicitlySharedDataPointer< T > &other) const
 
bool operator== (const T *ptr) const
 
bool operator!= (const T *ptr) const
 
 ExplicitlySharedDataPointer ()
 
 ~ExplicitlySharedDataPointer ()
 
 ExplicitlySharedDataPointer (T *data)
 
 ExplicitlySharedDataPointer (const ExplicitlySharedDataPointer< T > &o)
 
template<class X >
 ExplicitlySharedDataPointer (const ExplicitlySharedDataPointer< X > &o)
 
ExplicitlySharedDataPointer< T > & operator= (const ExplicitlySharedDataPointer< T > &o)
 
ExplicitlySharedDataPointeroperator= (T *o)
 
bool operator! () const
 
void Swap (ExplicitlySharedDataPointer &other)
 

Protected Member Functions

T * Clone ()
 

Detailed Description

template<class T>
class us::ExplicitlySharedDataPointer< T >

Definition at line 133 of file usSharedData.h.

Member Typedef Documentation

template<class T>
typedef T* us::ExplicitlySharedDataPointer< T >::pointer

Definition at line 137 of file usSharedData.h.

template<class T>
typedef T us::ExplicitlySharedDataPointer< T >::Type

Definition at line 136 of file usSharedData.h.

Constructor & Destructor Documentation

Definition at line 162 of file usSharedData.h.

template<class T>
us::ExplicitlySharedDataPointer< T >::~ExplicitlySharedDataPointer ( )
inline

Definition at line 163 of file usSharedData.h.

template<class T>
us::ExplicitlySharedDataPointer< T >::ExplicitlySharedDataPointer ( T *  data)
explicit

Definition at line 260 of file usSharedData.h.

Definition at line 166 of file usSharedData.h.

template<class T>
template<class X >
us::ExplicitlySharedDataPointer< T >::ExplicitlySharedDataPointer ( const ExplicitlySharedDataPointer< X > &  o)
inline

Definition at line 170 of file usSharedData.h.

Member Function Documentation

template<class T >
T * us::ExplicitlySharedDataPointer< T >::Clone ( )
protected

Definition at line 244 of file usSharedData.h.

template<class T>
const T* us::ExplicitlySharedDataPointer< T >::ConstData ( ) const
inline

Definition at line 143 of file usSharedData.h.

template<class T>
T* us::ExplicitlySharedDataPointer< T >::Data ( ) const
inline

Definition at line 142 of file usSharedData.h.

template<class T>
us::ExplicitlySharedDataPointer< T >::operator bool ( ) const
inline

Definition at line 155 of file usSharedData.h.

template<class T>
bool us::ExplicitlySharedDataPointer< T >::operator! ( ) const
inline

Definition at line 205 of file usSharedData.h.

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

Definition at line 158 of file usSharedData.h.

template<class T>
bool us::ExplicitlySharedDataPointer< T >::operator!= ( const T *  ptr) const
inline

Definition at line 160 of file usSharedData.h.

template<class T>
T& us::ExplicitlySharedDataPointer< T >::operator* ( ) const
inline

Definition at line 139 of file usSharedData.h.

template<class T>
T* us::ExplicitlySharedDataPointer< T >::operator-> ( )
inline

Definition at line 140 of file usSharedData.h.

template<class T>
T* us::ExplicitlySharedDataPointer< T >::operator-> ( ) const
inline

Definition at line 141 of file usSharedData.h.

template<class T>
ExplicitlySharedDataPointer<T>& us::ExplicitlySharedDataPointer< T >::operator= ( const ExplicitlySharedDataPointer< T > &  o)
inline

Definition at line 177 of file usSharedData.h.

template<class T>
ExplicitlySharedDataPointer& us::ExplicitlySharedDataPointer< T >::operator= ( T *  o)
inline

Definition at line 191 of file usSharedData.h.

template<class T>
bool us::ExplicitlySharedDataPointer< T >::operator== ( const ExplicitlySharedDataPointer< T > &  other) const
inline

Definition at line 157 of file usSharedData.h.

template<class T>
bool us::ExplicitlySharedDataPointer< T >::operator== ( const T *  ptr) const
inline

Definition at line 159 of file usSharedData.h.

template<class T>
void us::ExplicitlySharedDataPointer< T >::Reset ( )
inline

Definition at line 147 of file usSharedData.h.

template<class T>
void us::ExplicitlySharedDataPointer< T >::Swap ( ExplicitlySharedDataPointer< T > &  other)
inline

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