GammaLib
2.0.0
|
Smart pointer for registry classes. More...
#include <GRegistry.hpp>
Public Member Functions | |
GRegistryPointer (void) | |
GRegistryPointer (const GRegistryPointer< T > &ptr) | |
virtual | ~GRegistryPointer (void) |
GRegistryPointer< T > & | operator= (const GRegistryPointer< T > &ptr) |
T & | operator* () const |
T * | operator-> () const |
T & | operator[] (const int &index) const |
void | assign (T *ptr) |
Private Member Functions | |
void | free_members (void) |
Private Attributes | |
T * | m_ptr |
Pointer. More... | |
Smart pointer for registry classes.
Definition at line 43 of file GRegistry.hpp.
|
inline |
Definition at line 47 of file GRegistry.hpp.
|
inline |
Definition at line 48 of file GRegistry.hpp.
|
inlinevirtual |
Definition at line 49 of file GRegistry.hpp.
References GRegistryPointer< T >::free_members().
|
inline |
Definition at line 64 of file GRegistry.hpp.
References GRegistryPointer< T >::free_members(), and GRegistryPointer< T >::m_ptr.
|
inlineprivate |
Definition at line 71 of file GRegistry.hpp.
References GRegistryPointer< T >::m_ptr.
Referenced by GRegistryPointer< T >::assign(), GRegistryPointer< T >::operator=(), and GRegistryPointer< T >::~GRegistryPointer().
|
inline |
Definition at line 59 of file GRegistry.hpp.
References GRegistryPointer< T >::m_ptr.
|
inline |
Definition at line 60 of file GRegistry.hpp.
References GRegistryPointer< T >::m_ptr.
|
inline |
Definition at line 52 of file GRegistry.hpp.
References GRegistryPointer< T >::free_members(), and GRegistryPointer< T >::m_ptr.
|
inline |
Definition at line 61 of file GRegistry.hpp.
References GRegistryPointer< T >::m_ptr.
|
private |
Pointer.
Definition at line 76 of file GRegistry.hpp.
Referenced by GRegistryPointer< T >::assign(), GRegistryPointer< T >::free_members(), GRegistryPointer< T >::operator*(), GRegistryPointer< T >::operator->(), GRegistryPointer< T >::operator=(), and GRegistryPointer< T >::operator[]().