#include <inetop.h>
Inheritance diagram for DownloadOpParam:
Public Member Functions | |
void * | operator new (size_t stSize, LPCSTR lpszFileName, INT32 nLine) |
This functions adds an item into the memory tracking list and stores the filename and line number if it is passed in. Both versions of new call this function to handle all there DEBUG stuff.A version of the new operator that stores the filename etc into the memory tracking structure to help in debugging. This can be activated by including the following line :- MonoOn define new CAM_DEBUG_NEW MonoOff after all the IMPLEMENT_DYNAMIC() etc macros. | |
void * | operator new (size_t stSize) |
This function allocates a block of memory to create a new SimpleCCObject derived thingy. This does not throw an exception, but returns NULL in the event of a failure. In debug builds it also keeps track of all allocations and will give a dump of all reamining blobs of memory when camelot exits. | |
Public Attributes | |
PathName | file |
String_256 | strURL |
BOOL | bHasProgressDlg |
String_256 | strDescription |
FileType | type |
AsynchDownload::Priority | priority |
Protected Member Functions | |
DownloadOpParam () | |
Static Protected Attributes | |
static void * | pAllocatedMemory |
Definition at line 129 of file inetop.h.
|
Definition at line 142 of file inetop.cpp. 00143 { 00144 #ifdef _DEBUG 00145 if ((void*) this != pAllocatedMemory) 00146 ERROR3("DownloadOpParam-derived objects should be allocated using the new operator"); 00147 pAllocatedMemory = NULL; 00148 #endif 00149 // default to clipart download parameters 00150 type = TYPE_CLIPART; 00151 priority = AsynchDownload::PRIORITY_HIGH; 00152 bHasProgressDlg = TRUE; 00153 strDescription = _T(""); 00154 }
|
|
This function allocates a block of memory to create a new SimpleCCObject derived thingy. This does not throw an exception, but returns NULL in the event of a failure. In debug builds it also keeps track of all allocations and will give a dump of all reamining blobs of memory when camelot exits.
Reimplemented from SimpleCCObject. Definition at line 156 of file inetop.h. 00157 { 00158 return (pAllocatedMemory = SimpleCCObject::operator new(stSize)); 00159 }
|
|
This functions adds an item into the memory tracking list and stores the filename and line number if it is passed in. Both versions of new call this function to handle all there DEBUG stuff.A version of the new operator that stores the filename etc into the memory tracking structure to help in debugging. This can be activated by including the following line :- MonoOn define new CAM_DEBUG_NEW MonoOff after all the IMPLEMENT_DYNAMIC() etc macros.
Reimplemented from SimpleCCObject. Definition at line 152 of file inetop.h. 00153 { 00154 return (pAllocatedMemory = SimpleCCObject::operator new(stSize, lpszFileName, nLine)); 00155 }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|