#include <Resource.h>

Public Member Functions | |
| T * | obtainResource (const Args &args) const |
| void | releaseResource (const Args &args, T *pObject) const |
Classes | |
| class | Args |
It provides capability for creating and deleting objects from the local heap. A Resource using this trait behaves the same as an auto_ptr. This is the default trait used if a Resource object is declared without specifying the trait class.
Definition at line 21 of file Resource.h.
| T* MemoryObject< T >::obtainResource | ( | const Args & | args | ) | const |
Definition at line 25 of file Resource.h.
| void MemoryObject< T >::releaseResource | ( | const Args & | args, | |
| T * | pObject | |||
| ) | const |
Definition at line 30 of file Resource.h.