Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   Related Pages  

sglDeleteableDataPtr Class Template Reference

#include <sglDataPtr.hpp>

Inheritance diagram for sglDeleteableDataPtr::

sglDataPtr sglObject List of all members.

Public Methods

 sglDeleteableDataPtr (T *ptr)
virtual ~sglDeleteableDataPtr ()
virtual void* getData () const

Detailed Description

template<class T> class sglDeleteableDataPtr

Reference counted container for a data pointer. Upon destruction the data pointer will be deleted.

Definition at line 90 of file sglDataPtr.hpp.

Constructor & Destructor Documentation

template<class T>
sglDeleteableDataPtr<T>::sglDeleteableDataPtr<T> ( T * ptr ) [inline]


Definition at line 94 of file sglDataPtr.hpp.

template<class T>
sglDeleteableDataPtr<T>::~sglDeleteableDataPtr<T> ( ) [inline, virtual]


Definition at line 97 of file sglDataPtr.hpp.

Member Function Documentation

template<class T>
void * sglDeleteableDataPtr<T>::getData ( ) const [inline, virtual]

Get the data pointer.

Pointer to the data.

Reimplemented from sglDataPtr.

Definition at line 100 of file sglDataPtr.hpp.

The documentation for this class was generated from the following file:
Generated at Mon Jul 1 18:00:07 2002 for SGL by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001