DWFToolkit::DWFTK_STL_Allocator< T > Class Template Reference

#include "dwf/Toolkit.h"

List of all members.


Detailed Description

template<class T>
class DWFToolkit::DWFTK_STL_Allocator< T >

STL allocator replacement.

Since:
7.2.0
This implementation of the STL allocator class ensures that all allocations and deletions are routed through the DWFToolkitMemory class, if it is enabled. This is required to ensure that any STL containers have their calls to new & delete all happen in the same runtime.

Definition at line 152 of file Toolkit.h.

Public Types

typedef std::allocator< T > _Mybase
typedef _Mybase::value_type value_type
typedef _Mybase::pointer pointer
typedef _Mybase::reference reference
typedef _Mybase::const_pointer const_pointer
typedef _Mybase::const_reference const_reference
typedef _Mybase::size_type size_type
typedef _Mybase::difference_type difference_type

Public Member Functions

 DWFTK_STL_Allocator ()
 ~DWFTK_STL_Allocator ()
 DWFTK_STL_Allocator (const DWFTK_STL_Allocator &)
template<typename U>
 DWFTK_STL_Allocator (const DWFTK_STL_Allocator< U > &)
pointer allocate (size_type n)
pointer allocate (size_type n, const void *)
void deallocate (pointer p, size_type)

Classes

struct  rebind


The documentation for this class was generated from the following file:
Generated on Tue Jan 6 22:40:46 2009 for Autodesk DWF Toolkit by  doxygen 1.4.5