OpenStructure
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions
PtrObserver< T > Class Template Reference

#include <ptr_observer.hh>

Public Member Functions

 PtrObserver (T *t)
 ~PtrObserver ()
void Invalidate ()
bool IsValid () const
T & Ref ()
T * Ptr ()
bool operator== (const PtrObserver< T > &ref) const

Detailed Description

template<class T>
class PtrObserver< T >

Definition at line 40 of file ptr_observer.hh.


Constructor & Destructor Documentation

PtrObserver ( T *  t)
inline

Definition at line 42 of file ptr_observer.hh.

~PtrObserver ( )
inline

Definition at line 47 of file ptr_observer.hh.


Member Function Documentation

void Invalidate ( )
inline

Definition at line 49 of file ptr_observer.hh.

bool IsValid ( ) const
inline

Definition at line 51 of file ptr_observer.hh.

bool operator== ( const PtrObserver< T > &  ref) const
inline

Definition at line 63 of file ptr_observer.hh.

T* Ptr ( )
inline

Definition at line 58 of file ptr_observer.hh.

T& Ref ( )
inline

Definition at line 53 of file ptr_observer.hh.


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