Toolkit.h File Reference


Detailed Description

This is the main configuration header for the DWF Toolkit library.

Definition in file Toolkit.h.

#include "dwfcore/Core.h"
#include "dwfcore/STL.h"

Go to the source code of this file.

Namespaces

namespace  DWFToolkit

Classes

class  DWFToolkit::_DWFToolkitMemory
class  DWFToolkit::DWFTK_STL_Allocator< T >
 STL allocator replacement. More...
struct  DWFToolkit::DWFTK_STL_Allocator< T >::rebind< _Other >

Defines

#define _DWFTK_API
#define _DWFTK_EXPORT_API_MEMORY_CONTROL_BASE
 DWF Toolkit class library.
#define _DWFTK_EXPORT_API_MEMORY_CONTROL_BASE_MEMBER
#define _DWFTK_EXPORT_API_MEMORY_CONTROL_BASE   : virtual public _DWFToolkitMemory
 DWF Toolkit class library.
#define _DWFTK_EXPORT_API_MEMORY_CONTROL_BASE_MEMBER   , virtual public _DWFToolkitMemory
#define _DWFTK_STL_ALLOCATOR   DWFTK_STL_Allocator
#define _DWFTK_STD_VECTOR(type)   std::vector<type, _DWFTK_STL_ALLOCATOR<type> >
#define _DWFTK_STD_MAP_COMP(type1, type2, comp)   std::map<type1, type2, comp, _DWFTK_STL_ALLOCATOR< std::pair<type1 const, type2> > >
#define _DWFTK_STD_MAP(type1, type2)   _DWFTK_STD_MAP_COMP(type1, type2, less<type1>)
#define _DWFTK_STD_MULTIMAP_COMP(type1, type2, comp)   std::multimap<type1, type2, comp, _DWFTK_STL_ALLOCATOR< std::pair<type1 const, type2> > >
#define _DWFTK_STD_MULTIMAP(type1, type2)   _DWFTK_STD_MULTIMAP_COMP(type1, type2, less<type1>)
#define _DWFTK_STD_LIST(type)   std::list<type, _DWFTK_STL_ALLOCATOR<type> >


Define Documentation

#define _DWFTK_EXPORT_API_MEMORY_CONTROL_BASE   : virtual public _DWFToolkitMemory
 

DWF Toolkit class library.

This namespace is used for every function, interface, class and enumeration defined and exposed by this library.

Definition at line 71 of file Toolkit.h.

#define _DWFTK_EXPORT_API_MEMORY_CONTROL_BASE
 

DWF Toolkit class library.

This namespace is used for every function, interface, class and enumeration defined and exposed by this library.

Definition at line 71 of file Toolkit.h.

#define _DWFTK_STL_ALLOCATOR   DWFTK_STL_Allocator
 

By default, the toolkit will use it's own STL allocator, primarily so that it can ensure that new's and delete's in DLL configurations all happen under the same runtime.

If your application has it's own STL allocator, and it is somehow non-standard (presumably because you also have a non-standard implementation of STL containers) you may need to disable the toolkit allocator. You can do this by building the toolkit with the macro DWFTK_USE_SYSTEM_STL_ALLOCATOR defined.

Definition at line 135 of file Toolkit.h.


Generated on Tue Jan 6 22:40:06 2009 for Autodesk DWF Toolkit by  doxygen 1.4.5