00001 /* 00002 * This file is part of the ToolBox. 00003 * Copyright Thomas Jacob. 00004 * 00005 * READ README.TXT BEFORE USE!! 00006 */ 00007 00008 00009 #ifndef __TB_HEADERS_H 00010 #define __TB_HEADERS_H 00011 00012 00013 // Non-component headers, level 0 00014 #include <direct.h> 00015 #include <io.h> 00016 #include <memory.h> 00017 #include <share.h> 00018 #include <stdarg.h> 00019 #include <stdio.h> 00020 #include <stdlib.h> 00021 #include <string.h> 00022 #include <sys\stat.h> 00023 #include <sys\types.h> 00024 #include <time.h> 00025 00026 // Non-component headers, level 1 00027 #if defined(_DEBUG) && (defined(_AFX) || defined(_AFXDLL)) 00028 // MFC headers 00029 #include <afx.h> 00030 #include <afxcmn.h> 00031 #include <afxext.h> 00032 #include <afxpriv.h> 00033 #include <afxsock.h> 00034 #include <afxwin.h> 00035 #else 00036 #ifdef _WINDOWS 00037 #include <windows.h> 00038 #endif 00039 #endif 00040 00041 // Non-component headers, level 2 00042 #if defined(D3D_OVERLOADS) 00043 #include <d3dx9.h> 00044 #include <dxerr9.h> 00045 #endif 00046 00047 00048 // Class declarations 00049 namespace toolbox 00050 { 00051 template <class ELEMENTTYPE> class ArrayList; 00052 class AutoDeleting; 00053 class Bool; 00054 class Char; 00055 class ChecksumCalculator; 00056 class CommandLine; 00057 class Config; 00058 class ConfigParameter; 00059 class ConfigSection; 00060 template <class ITEMTYPE> class ContainingList; 00061 template <class ITEMTYPE> class ContainingListItem; 00062 template <class ITEMTYPE> class ContainingStack; 00063 template <class ITEMTYPE> class ContainingStackItem; 00064 class Directory; 00065 class DirectoryEntry; 00066 class Double; 00067 class EAssertionFailed; 00068 class EDeviceError; 00069 class EIOError; 00070 class EIllegalArgument; 00071 class EIllegalState; 00072 class EIndexOutOfBounds; 00073 class EInternalError; 00074 class ENoSuchElement; 00075 class ENotSupported; 00076 class ENullPointer; 00077 class Edge; 00078 class EdgeArray; 00079 class Exception; 00080 class Float; 00081 class Graph; 00082 template <class VALUETYPE> class HashMap; 00083 class HashSet; 00084 template <class VALUETYPE> class ICStringKeyReferenceValueMap; 00085 template <class VALUETYPE> class ICStringKeyHashMap; 00086 class ICStringKeyHashSet; 00087 class Int; 00088 template <class VALUETYPE> class IntKeyHashMap; 00089 class IntKeyHashSet; 00090 template <class VALUETYPE> class IntKeyReferenceValueMap; 00091 class Logger; 00092 class LongDouble; 00093 class LongInt; 00094 class MD5Hasher; 00095 class MP3FileInfos; 00096 class Path; 00097 class PathElement; 00098 class Pointer; 00099 class PointeredList; 00100 class PointeredListItem; 00101 class PointeredStack; 00102 class PointeredStackItem; 00103 class Reference; 00104 template <class KEYTYPE, class VALUETYPE> class ReferenceKeyMap; 00105 template <class ELEMENTTYPE> class ReferenceList; 00106 template <class VALUETYPE> class ReferenceValueMap; 00107 class ShortInt; 00108 class SignedChar; 00109 class SignedInt; 00110 class SignedLongInt; 00111 class SignedShortInt; 00112 class Simulation; 00113 class SimulationEndEvent; 00114 class SimulationEvent; 00115 class SimulationObject; 00116 template <class ELEMENTTYPE> class SingleReference; 00117 class String; 00118 class StringKeyHashSet; 00119 template <class VALUETYPE> class StringKeyHashMap; 00120 template <class VALUETYPE> class StringKeyReferenceValueMap; 00121 #ifdef _TOOLBOX_TEST 00122 class TestListObject; 00123 class TestObject; 00124 class TestStackObject; 00125 #endif 00126 class UnsignedChar; 00127 class UnsignedInt; 00128 class UnsignedLongInt; 00129 class UnsignedShortInt; 00130 class Vertex; 00131 class VertexArray; 00132 class Void; 00133 } 00134 using namespace toolbox; 00135 00136 00137 // ToolBox headers, level 0 00138 #include <ToolBox\Exception.h> 00139 00140 // ToolBox headers, level 1 00141 #include <ToolBox\ArrayList.h> 00142 #include <ToolBox\HashMap.h> 00143 #include <ToolBox\HashSet.h> 00144 #include <ToolBox\LinkedList.h> 00145 #include <ToolBox\String.h> 00146 #include <ToolBox\Stack.h> 00147 00148 // ToolBox headers, level 2 00149 #include <ToolBox\Checksum.h> 00150 #include <ToolBox\CommandLine.h> 00151 #include <ToolBox\Config.h> 00152 #include <ToolBox\Graph.h> 00153 #include <ToolBox\Directory.h> 00154 #include <ToolBox\Logger.h> 00155 #include <ToolBox\MD5Hasher.h> 00156 #include <ToolBox\MP3FileInfos.h> 00157 #include <ToolBox\Reference.h> 00158 #include <ToolBox\Simulation.h> 00159 #ifdef _TOOLBOX_TEST 00160 #include <ToolBox\TestObject.h> 00161 #endif 00162 #include <ToolBox\Wrappers.h> 00163 00164 // ToolBox inlines 00165 #include <ToolBox\ArrayList.inl> 00166 #include <ToolBox\Config.inl> 00167 #include <ToolBox\Directory.inl> 00168 #include <ToolBox\Exception.inl> 00169 #include <ToolBox\Graph.inl> 00170 #include <ToolBox\HashSet.inl> 00171 #include <ToolBox\HashMap.inl> 00172 #include <ToolBox\LinkedList.inl> 00173 #include <ToolBox\Logger.inl> 00174 #include <ToolBox\MD5Hasher.inl> 00175 #include <ToolBox\MP3FileInfos.inl> 00176 #include <ToolBox\Reference.inl> 00177 #include <ToolBox\Simulation.inl> 00178 #include <ToolBox\Stack.inl> 00179 #include <ToolBox\String.inl> 00180 #ifdef _TOOLBOX_TEST 00181 #include <ToolBox\TestObject.inl> 00182 #endif 00183 #include <ToolBox\Wrappers.inl> 00184 00185 00186 #endif