Medical Imaging Interaction Toolkit  2018.04.99-74b4982f
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 136 of file usSharedData.h.

Member Typedef Documentation

◆ pointer

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

Definition at line 140 of file usSharedData.h.

◆ Type

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

Definition at line 139 of file usSharedData.h.

Constructor & Destructor Documentation

◆ ExplicitlySharedDataPointer() [1/4]

Definition at line 165 of file usSharedData.h.

◆ ~ExplicitlySharedDataPointer()

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

Definition at line 166 of file usSharedData.h.

◆ ExplicitlySharedDataPointer() [2/4]

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

Definition at line 263 of file usSharedData.h.

◆ ExplicitlySharedDataPointer() [3/4]

Definition at line 169 of file usSharedData.h.

◆ ExplicitlySharedDataPointer() [4/4]

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

Definition at line 173 of file usSharedData.h.

Member Function Documentation

◆ Clone()

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

Definition at line 247 of file usSharedData.h.

◆ ConstData()

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

Definition at line 146 of file usSharedData.h.

◆ Data()

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

Definition at line 145 of file usSharedData.h.

◆ Detach()

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

Definition at line 148 of file usSharedData.h.

◆ operator bool()

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

Definition at line 158 of file usSharedData.h.

◆ operator!()

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

Definition at line 208 of file usSharedData.h.

◆ operator!=() [1/2]

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

Definition at line 161 of file usSharedData.h.

◆ operator!=() [2/2]

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

Definition at line 163 of file usSharedData.h.

◆ operator*()

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

Definition at line 142 of file usSharedData.h.

◆ operator->() [1/2]

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

Definition at line 143 of file usSharedData.h.

◆ operator->() [2/2]

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

Definition at line 144 of file usSharedData.h.

◆ operator=() [1/2]

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

Definition at line 180 of file usSharedData.h.

◆ operator=() [2/2]

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

Definition at line 194 of file usSharedData.h.

◆ operator==() [1/2]

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

Definition at line 160 of file usSharedData.h.

◆ operator==() [2/2]

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

Definition at line 162 of file usSharedData.h.

◆ Reset()

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

Definition at line 150 of file usSharedData.h.

◆ Swap()

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

Definition at line 210 of file usSharedData.h.


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