Medical Imaging Interaction Toolkit  2021.02.99-c7792db0
Medical Imaging Interaction Toolkit
us::SharedDataPointer< T > Class Template Reference

#include <usSharedData.h>

Inheritance diagram for us::SharedDataPointer< T >:

Public Types

typedef T Type
 
typedef T * pointer
 

Public Member Functions

void Detach ()
 
T & operator* ()
 
const T & operator* () const
 
T * operator-> ()
 
const T * operator-> () const
 
 operator T* ()
 
 operator const T * () const
 
T * Data ()
 
const T * Data () const
 
const T * ConstData () const
 
bool operator== (const SharedDataPointer< T > &other) const
 
bool operator!= (const SharedDataPointer< T > &other) const
 
 SharedDataPointer ()
 
 ~SharedDataPointer ()
 
 SharedDataPointer (T *data)
 
 SharedDataPointer (const SharedDataPointer< T > &o)
 
SharedDataPointer< T > & operator= (const SharedDataPointer< T > &o)
 
SharedDataPointeroperator= (T *o)
 
bool operator! () const
 
void Swap (SharedDataPointer &other)
 

Protected Member Functions

T * Clone ()
 

Detailed Description

template<class T>
class us::SharedDataPointer< T >

Definition at line 62 of file usSharedData.h.

Member Typedef Documentation

◆ pointer

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

Definition at line 66 of file usSharedData.h.

◆ Type

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

Definition at line 65 of file usSharedData.h.

Constructor & Destructor Documentation

◆ SharedDataPointer() [1/3]

template<class T>
us::SharedDataPointer< T >::SharedDataPointer ( )
inline

Definition at line 82 of file usSharedData.h.

◆ ~SharedDataPointer()

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

Definition at line 83 of file usSharedData.h.

◆ SharedDataPointer() [2/3]

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

Definition at line 227 of file usSharedData.h.

◆ SharedDataPointer() [3/3]

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

Definition at line 86 of file usSharedData.h.

Member Function Documentation

◆ Clone()

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

Definition at line 231 of file usSharedData.h.

◆ ConstData()

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

Definition at line 77 of file usSharedData.h.

◆ Data() [1/2]

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

Definition at line 75 of file usSharedData.h.

◆ Data() [2/2]

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

Definition at line 76 of file usSharedData.h.

◆ Detach()

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

Definition at line 68 of file usSharedData.h.

◆ operator const T *()

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

Definition at line 74 of file usSharedData.h.

◆ operator T*()

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

Definition at line 73 of file usSharedData.h.

◆ operator!()

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

Definition at line 116 of file usSharedData.h.

◆ operator!=()

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

Definition at line 80 of file usSharedData.h.

◆ operator*() [1/2]

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

Definition at line 69 of file usSharedData.h.

◆ operator*() [2/2]

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

Definition at line 70 of file usSharedData.h.

◆ operator->() [1/2]

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

Definition at line 71 of file usSharedData.h.

◆ operator->() [2/2]

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

Definition at line 72 of file usSharedData.h.

◆ operator=() [1/2]

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

Definition at line 88 of file usSharedData.h.

◆ operator=() [2/2]

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

Definition at line 102 of file usSharedData.h.

◆ operator==()

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

Definition at line 79 of file usSharedData.h.

◆ Swap()

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

Definition at line 118 of file usSharedData.h.


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