Fission FSN
Loading...
Searching...
No Matches
fsCFile.h
Go to the documentation of this file.
1/********************************************************************
2*
3* File: fsCFile.h
4*
5* Purpose: Win32 implementation of fsIFile
6*
7*********************************************************************/
8
9#ifndef fsCFilehdr
10#define fsCFilehdr
11
12#include "../../fsIFile.h"
13
14class fsStr;
15
16class fsCFile : public fsIFile
17{
18 friend class fsIFile;
19 friend class fsCResourceNamePathAdjuster;
20
21public:
22
23 static void preLoadODRDo(const fsCResourceName& pFilename);
24
26
27 static fsStr fullPathGetDo(fsCResourceName const& pFilename);
28 static std::vector<fsStr> textFileReadToVectorDo(const fsCResourceName& pFileName);
30 static fsStr strGetFromFileDo(const fsCResourceName& pFilename);
31 static void strWriteToFileDo(const fsCResourceName& pFilename, const fsStr& pStr);
32
33 static fsBool fileExistsGetDo(const fsCResourceName& pFileName);
34 static fsBool folderIsDo(const fsCResourceName& pFolderName);
35 static fsBool fileDeleteDo(const fsCResourceName& pFileName);
36
37 static fsBool folderCreateDo(const fsCResourceName& pFolderName);
38 static fsBool folderDeleteDo(const fsCResourceName& pFolderName);
39
40protected:
41
42private:
43
44 static fsBool systemFolderCreateDo(const fsStr& pFolderName);
45 static fsBool systemFolderDeleteDo(const fsStr& pFolderName);
46 static fsBool rawFileNameExistsCheckDo(const fsStr& pFileName);
47};
48
49#endif
Definition fsCFile.h:23
static void preLoadODRDo(const fsCResourceName &pFilename)
static fsBool fileDeleteDo(const fsCResourceName &pFileName)
static fsBool systemFolderCreateDo(const fsStr &pFolderName)
Definition fsCFile.cpp:131
static fsStr bytesGetFromCompressedFileBinaryDo(const fsCResourceName &pFilename)
static void strWriteToFileDo(const fsCResourceName &pFilename, const fsStr &pStr)
static fsBool folderDeleteDo(const fsCResourceName &pFolderName)
friend class fsCResourceNamePathAdjuster
Definition fsCFile.h:25
static fsStr strGetFromFileDo(const fsCResourceName &pFilename)
static fsStr fullPathGetDo(fsCResourceName const &pFilename)
static fsBool fileExistsGetDo(const fsCResourceName &pFileName)
static fsStr bytesGetFromCompressedFileDo(const fsCResourceName &pFilename)
static fsBool folderIsDo(const fsCResourceName &pFolderName)
friend class fsIFile
Definition fsCFile.h:24
static fsBool folderCreateDo(const fsCResourceName &pFolderName)
static std::vector< fsStr > textFileReadToVectorDo(const fsCResourceName &pFileName)
static fsBool systemFolderDeleteDo(const fsStr &pFolderName)
Definition fsCFile.cpp:159
Definition fsCResourceName.h:32
Definition fsIFile.h:20
Definition fsStr.h:23
bool fsBool
Definition fsBaseTypes.h:26