Elm  2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
TempPtr< T > Class Template Reference

#include <elm/alloc/SimpleGC.h>

+ Inheritance diagram for TempPtr< T >:

Public Member Functions

 TempPtr (SimpleGC &gc, T *ptr)
 
virtual void collect (SimpleGC &gc)
 
 operator T* (void) const
 
T * operator& (void) const
 
T * operator-> (void) const
 
T & operator* (void) const
 
 operator bool (void) const
 
TempPtr< T > & operator= (T *ptr)
 
- Public Member Functions inherited from Temp
 Temp (SimpleGC &gc)
 
virtual ~Temp (void)
 
- Public Member Functions inherited from DLNode
DLNodenext (void) const
 
DLNodeprevious (void) const
 
bool atBegin (void) const
 
bool atEnd (void) const
 
void replace (DLNode *node)
 
void insertAfter (DLNode *node)
 
void insertBefore (DLNode *node)
 
void remove (void)
 
void removeNext (void)
 
void removePrevious (void)
 

Constructor & Destructor Documentation

◆ TempPtr()

TempPtr ( SimpleGC gc,
T *  ptr 
)
inline

Member Function Documentation

◆ collect()

virtual void collect ( SimpleGC gc)
inlinevirtual

Implements Temp.

◆ operator bool()

operator bool ( void  ) const
inline

◆ operator T*()

operator T* ( void  ) const
inline

◆ operator&()

T* operator& ( void  ) const
inline

◆ operator*()

T& operator* ( void  ) const
inline

◆ operator->()

T* operator-> ( void  ) const
inline

◆ operator=()

TempPtr<T>& operator= ( T *  ptr)
inline

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