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

sglFreeableDataPtr Class Reference

#include <sglDataPtr.hpp>

Inheritance diagram for sglFreeableDataPtr::

sglDataPtr sglObject List of all members.

Public Methods

 sglFreeableDataPtr (void *ptr)
virtual ~sglFreeableDataPtr ()
virtual void* getData () const

Detailed Description

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

Definition at line 115 of file sglDataPtr.hpp.

Constructor & Destructor Documentation

sglFreeableDataPtr::sglFreeableDataPtr ( void * ptr ) [inline]


Definition at line 119 of file sglDataPtr.hpp.

sglFreeableDataPtr::~sglFreeableDataPtr ( ) [inline, virtual]


Definition at line 122 of file sglDataPtr.hpp.

Member Function Documentation

void * sglFreeableDataPtr::getData ( ) const [inline, virtual]

Get the data pointer.

Pointer to the data.

Reimplemented from sglDataPtr.

Definition at line 125 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