Fission FSN
Loading...
Searching...
No Matches
fsCFile.h
Go to the documentation of this file.
1/********************************************************************
2*
3* Created: 14/2/2014 9:36
4*
5* File: fsCFile.h
6*
7* Author: Mick Waites
8*
9* Purpose: Win32 implementation of fsIFile
10*
11*********************************************************************/
12
13#ifndef fsCFilehdr
14#define fsCFilehdr
15
16#include <stdio.h>
17
18#include "../../fsIFile.h"
19#include <fsCore/fsStr.h>
20#include<stdio.h>
21
22class fsStr;
23
24
25class fsCFile : public fsIFile
26{
27 friend class fsIFile;
28 friend class fsCResourceNamePathAdjuster;
29
30public:
31
32 const static fsStr mPathSeparator;
33
34 static fsStr fullPathGetDo(fsCResourceName const& pFilename);
35
36 static std::vector<fsStr> textFileReadToVectorDo(const fsCResourceName& pFileName);
39 static fsStr strGetFromFileDo(const fsCResourceName& pFilename);
40 static void strWriteToFileDo(const fsCResourceName& pFilename, const fsStr& pStr);
41
42 static fsBool systemFolderCreateDo(const fsStr& pFolderName);
43 static fsBool systemFolderDeleteDo(const fsStr& pFolderName);
44
45 static fsBool fileExistsGetDo(const fsCResourceName& pFileName);
46 static fsBool folderIsDo(const fsCResourceName& pFolderName);
47 static fsBool fileDeleteDo(const fsCResourceName& pFileName);
48
49 static fsBool folderCreateDo(const fsCResourceName& pFolderName);
50 static fsBool folderDeleteDo(const fsCResourceName& pFolderName);
51
52protected:
53
54private:
55
56 static fsBool rawFileNameExistsCheckDo(const fsStr& pFileName);
57};
58
59#endif
Definition fsCFile.h:23
static fsBool fileDeleteDo(const fsCResourceName &pFileName)
static fsStr bytesGetFromCompressedFileBinaryDo(const fsCResourceName &pFilename)
static fsBool systemFolderCreateDo(const fsStr &pFolderName)
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)
static fsBool systemFolderDeleteDo(const fsStr &pFolderName)
friend class fsIFile
Definition fsCFile.h:24
static fsBool folderCreateDo(const fsCResourceName &pFolderName)
static const fsStr mPathSeparator
Definition fsCFile.h:29
static std::vector< fsStr > textFileReadToVectorDo(const fsCResourceName &pFileName)
Definition fsCResourceName.h:32
Definition fsIFile.h:20
Definition fsStr.h:23
bool fsBool
Definition fsBaseTypes.h:26