Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  

gltext::RefPtr< T > Class Template Reference

#include <gltext.h>

Collaboration diagram for gltext::RefPtr< T >:

Collaboration graph
[legend]
List of all members.

Public Methods

 RefPtr (T *ptr=0)
 RefPtr (const RefPtr< T > &ptr)
RefPtr< T > & operator= (T *ptr)
RefPtr< T > & operator= (const RefPtr< T > &ptr)
T * operator-> () const
T & operator * () const
 operator bool () const
T * get () const

Detailed Description

template<typename T>
class gltext::RefPtr< T >

This defines a smart pointer to some type T that implements the RefCounted interface. This object will do all the nasty reference counting for you.

This class was originally written by Chad Austin for the audiere project and released under the LGPL.


The documentation for this class was generated from the following file:
Generated on Mon Aug 4 22:04:32 2003 for GLText by doxygen1.3-rc1