Medical Imaging Interaction Toolkit  2016.11.0
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 59 of file usSharedData.h.

Member Typedef Documentation

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

Definition at line 63 of file usSharedData.h.

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

Definition at line 62 of file usSharedData.h.

Constructor & Destructor Documentation

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

Definition at line 79 of file usSharedData.h.

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

Definition at line 80 of file usSharedData.h.

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

Definition at line 224 of file usSharedData.h.

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

Definition at line 83 of file usSharedData.h.

Member Function Documentation

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

Definition at line 228 of file usSharedData.h.

Referenced by mitk::EventConfig::AddConfig().

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

Definition at line 74 of file usSharedData.h.

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

Definition at line 72 of file usSharedData.h.

Referenced by mitk::MimeType::IsValid().

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

Definition at line 73 of file usSharedData.h.

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

Definition at line 65 of file usSharedData.h.

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

Definition at line 71 of file usSharedData.h.

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

Definition at line 70 of file usSharedData.h.

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

Definition at line 113 of file usSharedData.h.

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

Definition at line 77 of file usSharedData.h.

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

Definition at line 66 of file usSharedData.h.

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

Definition at line 67 of file usSharedData.h.

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

Definition at line 68 of file usSharedData.h.

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

Definition at line 69 of file usSharedData.h.

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

Definition at line 85 of file usSharedData.h.

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

Definition at line 99 of file usSharedData.h.

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

Definition at line 76 of file usSharedData.h.

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

Definition at line 115 of file usSharedData.h.

Referenced by mitk::MimeType::Swap().


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