gwnavgeneration/common/generatorfile.h Source File
Go to the documentation of this file.
9 #ifndef GwNavGen_GeneratorFile_H
10 #define GwNavGen_GeneratorFile_H
22 class GeneratorSystem;
31 enum MakeDir { DO_MAKE_DIR = 0, DO_NOT_MAKE_DIR = 1, MakeDir_FORCE32 = 0xFFFFFFFF };
34 GeneratorFile(GeneratorSystem* sys,
const char* fileName,
const FileOpenerMode openMode, MakeDir makeDir = DO_MAKE_DIR);
37 void Init(GeneratorSystem* sys,
const char* fileName,
const FileOpenerMode openMode, MakeDir makeDir = DO_MAKE_DIR);
39 enum DoErrorMessage { DO_ERROR_MESSAGE, DO_NOT_ERROR_MESSAGE };
40 File* GetFile(DoErrorMessage = DO_ERROR_MESSAGE);
45 GeneratorSystem* m_sys;
#define KY_CLASS_WITHOUT_COPY(ClassName)
Define to forbid copy constructor and copy assignment.
Definition: types.h:387
FileOpenerMode
Enumerates the possible modes for opening a file with a class that derives from FileOpenerBase.
Definition: fileopener.h:28
Definition: gamekitcrowddispersion.h:20
#define KY_DEFINE_NEW_DELETE_OPERATORS(MemStat)
This macro defines new and delete operators.
Definition: memory.h:137