![]()
DirTree
Description: Directory tree interface
Source file: …\genesis3d\OpenSource\Source\Vfile\dirtree.h
Functions:
Create, CreateFromFile, WriteToFile, GetSize, Destroy, FindExact, FindPartial, AddFile, Remove, SetFileAttributes, GetFileAttributes, SetFileOffset, GetFileOffset, SetFileTime, GetFileTime, SetFileSize, GetFileSize, SetFileHints, GetFileHints, GetName, FileExists, CreateFinder, DestroyFinder, FinderGetNextFile, Dump DirTree , DirTree_FinderChanges for Genesis3D v1.6: None
![]()
Types:
DirTree;NOTE: The contents of this structure have been intentionally left out of the interface, by the designers of this module. Think of this as a handle only.
typedef struct DirTree_Finder
DirTree_Finder;NOTE: The contents of this structure have been intentionally left out of the interface, by the designers of this module. Think of this as a handle only.
![]()
Functions:
![]()
DirTree* DirTree_Create(void);
Return to Contents
![]()
DirTree* DirTree_CreateFromFile(geVFile* File);
![]()
geBoolean DirTree_WriteToFile(const DirTree* Tree, geVFile* File);
Return to Contents
![]()
geBoolean DirTree_GetSize(const DirTree* Tree, long* Size);
Gets the size of data that will be written to disk to persist the tree. This API is NOT efficient.
![]()
Return to Contents
![]()
DirTree* DirTree_FindExact(const DirTree* Tree, const char * Path);
Return to Contents
![]()
DirTree* DirTree_FindPartial(const DirTree* Tree, const char * Path, const char ** LeftOvers);
![]()
DirTree* DirTree_AddFile(DirTree* Tree, const char * Path, geBoolean IsDirectory);
![]()
geBoolean DirTree_Remove(DirTree* Tree, DirTree* SubTree);
![]()
Return to Contents
![]()
Return to Contents
![]()
Return to Contents
![]()
Return to Contents
![]()
Return to Contents
![]()
Return to Contents
![]()
Return to Contents
![]()
Return to Contents
![]()
geBoolean DirTree_SetFileHints(DirTree* Tree, const geVFile_Hints* Hints);
![]()
Return to Contents
![]()
geBoolean DirTree_GetName(DirTree* Tree, char * Buff, int MaxLen);
![]()
geBoolean DirTree_FileExists(const DirTree* Tree, const char * Path);
![]()
DirTree_Finder* DirTree_CreateFinder(DirTree* Tree, const char * Path);
![]()
Return to Contents
![]()
DirTree* DirTree_FinderGetNextFile(DirTree_Finder* Finder);
![]()
Note: Only avail if: #ifdef DEBUG
Return to Contents
![]()