OpenStructure
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()

PtrObserver ( T *  t)
inline

Definition at line 42 of file ptr_observer.hh.

◆ ~PtrObserver()

~PtrObserver ( )
inline

Definition at line 47 of file ptr_observer.hh.

Member Function Documentation

◆ Invalidate()

void Invalidate ( )
inline

Definition at line 49 of file ptr_observer.hh.

◆ IsValid()

bool IsValid ( ) const
inline

Definition at line 51 of file ptr_observer.hh.

◆ operator==()

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

Definition at line 63 of file ptr_observer.hh.

◆ Ptr()

T* Ptr ( )
inline

Definition at line 58 of file ptr_observer.hh.

◆ Ref()

T& Ref ( )
inline

Definition at line 53 of file ptr_observer.hh.


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