Urho3D
Public Member Functions | Private Member Functions | Private Attributes
Urho3D::Allocator< T > Class Template Reference

Allocator template class. Allocates objects of a specific class. More...

#include <Allocator.h>

List of all members.

Public Member Functions

 Allocator (unsigned initialCapacity=0)
 Construct.
 ~Allocator ()
 Destruct.
T * Reserve ()
 Reserve and default-construct an object.
T * Reserve (const T &object)
 Reserve and copy-construct an object.
void Free (T *object)
 Destruct and free an object.

Private Member Functions

 Allocator (const Allocator< T > &rhs)
 Prevent copy construction.
Allocator< T > & operator= (const Allocator< T > &rhs)
 Prevent assignment.

Private Attributes

AllocatorBlockallocator_
 Allocator block.

Detailed Description

template<class T>
class Urho3D::Allocator< T >

Allocator template class. Allocates objects of a specific class.


The documentation for this class was generated from the following file: