"L. Spiro Engine"
Static Public Attributes | Static Protected Attributes

lstl::CMapBase Class Reference

Provides a default allocator shared among all instances of CMap classes. More...

#include <LSTLMapBase.h>

Inheritance diagram for lstl::CMapBase:
lstl::CMap

List of all members.

Static Public Attributes

static CAllocatorm_paDefaultAllocator

Static Protected Attributes

static CAllocator m_aAllocator

Detailed Description

Provides a default allocator shared among all instances of CMap classes.

Class CMapBase Description: Provides a default allocator shared among all instances of CMap classes.


Member Data Documentation

The default allocator if none are supplied.

Modifiable pointer to a default allocator used by all map objects that do not explicitly allow using a specific allocator. Must never be set to NULL. Should only be changed once, before any allocations are ever made. If a map allocates from the default allocator and then the default is changed, the map will not be able to free its memory unless the default is changed back. Normally you just create an allocator at the beginning, set it as the default, and then let all the vectors work off that.


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator