CrystalSpace

Public API Reference

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

csPtr< T > Class Template Reference

A normal pointer. More...

#include <ref.h>

List of all members.


Detailed Description

template<class T>
class csPtr< T >

A normal pointer.

This class should ONLY be used for functions returning pointers that are already IncRef()'ed for the caller. This class behaves like a pointer encapsulator. Please do NOT use this for anything else (for example, don't use this class to remember pointers to anything. Use csRef for that). It only stores the pointer. Nothing else. When it is assigned to a csRef, the csRef smart pointer will 'inherit' the reference (so no IncRef() happens).

Definition at line 44 of file ref.h.


The documentation for this class was generated from the following file:
Generated for Crystal Space by doxygen 1.2.18