TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
TMndxFindResult Class Reference

#include <CascMndx.h>

Public Member Functions

 TMndxFindResult ()
 
 ~TMndxFindResult ()
 
int CreateStruct40 ()
 
void FreeStruct40 ()
 
int SetSearchPath (const char *szNewSearchPath, size_t cchNewSearchPath)
 

Public Attributes

const char * szSearchMask
 
size_t cchSearchMask
 
DWORD field_8
 
const char * szFoundPath
 
size_t cchFoundPath
 
DWORD FileNameIndex
 
TStruct40pStruct40
 

Constructor & Destructor Documentation

TMndxFindResult::TMndxFindResult ( )
273 {
274  szSearchMask = NULL;
275  cchSearchMask = 0;
276  field_8 = 0;
277  szFoundPath = NULL;
278  cchFoundPath = 0;
279  FileNameIndex = 0;
280  pStruct40 = NULL;
281 }
const char * szSearchMask
Definition: CascMndx.h:200
TStruct40 * pStruct40
Definition: CascMndx.h:206
arena_t NULL
Definition: jemalloc_internal.h:624
DWORD FileNameIndex
Definition: CascMndx.h:205
DWORD field_8
Definition: CascMndx.h:202
const char * szFoundPath
Definition: CascMndx.h:203
size_t cchFoundPath
Definition: CascMndx.h:204
size_t cchSearchMask
Definition: CascMndx.h:201
TMndxFindResult::~TMndxFindResult ( )
285 {
286  FreeStruct40();
287 }
void FreeStruct40()
Definition: CascRootFile_Mndx.cpp:299

+ Here is the call graph for this function:

Member Function Documentation

int TMndxFindResult::CreateStruct40 ( )
291 {
292  if(pStruct40 != NULL)
294 
295  pStruct40 = new TStruct40();
297 }
#define ERROR_NOT_ENOUGH_MEMORY
Definition: CascPort.h:208
Definition: CascMndx.h:172
TStruct40 * pStruct40
Definition: CascMndx.h:206
arena_t NULL
Definition: jemalloc_internal.h:624
#define ERROR_INVALID_PARAMETER
Definition: CascPort.h:210
#define ERROR_SUCCESS
Definition: CascPort.h:204

+ Here is the caller graph for this function:

void TMndxFindResult::FreeStruct40 ( )
300 {
301  if(pStruct40 != NULL)
302  delete pStruct40;
303  pStruct40 = NULL;
304 }
TStruct40 * pStruct40
Definition: CascMndx.h:206
arena_t NULL
Definition: jemalloc_internal.h:624

+ Here is the caller graph for this function:

int TMndxFindResult::SetSearchPath ( const char *  szNewSearchPath,
size_t  cchNewSearchPath 
)
310 {
311  if(szSearchMask == NULL && cchSearchMask != 0)
313 
314  if(pStruct40 != NULL)
316 
317  szSearchMask = szNewSearchMask;
318  cchSearchMask = cchNewSearchMask;
319  return ERROR_SUCCESS;
320 }
const char * szSearchMask
Definition: CascMndx.h:200
TStruct40 * pStruct40
Definition: CascMndx.h:206
arena_t NULL
Definition: jemalloc_internal.h:624
#define CASC_SEARCH_INITIALIZING
Definition: CascMndx.h:21
#define ERROR_INVALID_PARAMETER
Definition: CascPort.h:210
DWORD SearchPhase
Definition: CascMndx.h:185
#define ERROR_SUCCESS
Definition: CascPort.h:204
size_t cchSearchMask
Definition: CascMndx.h:201

+ Here is the caller graph for this function:

Member Data Documentation

size_t TMndxFindResult::cchFoundPath
size_t TMndxFindResult::cchSearchMask
DWORD TMndxFindResult::field_8
DWORD TMndxFindResult::FileNameIndex
TStruct40* TMndxFindResult::pStruct40
const char* TMndxFindResult::szFoundPath
const char* TMndxFindResult::szSearchMask

The documentation for this class was generated from the following files: