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#if (AX_TARGET_PLATFORM == AX_PLATFORM_IOS)
33 static void preLoadODRDo(const fsCResourceName& pFilename);
34#endif
36
37 static fsStr fullPathGetDo(fsCResourceName const& pFilename);
38 static std::vector<fsStr> textFileReadToVectorDo(const fsCResourceName& pFileName);
40 static fsStr strGetFromFileDo(const fsCResourceName& pFilename);
41 static void strWriteToFileDo(const fsCResourceName& pFilename, const fsStr& pStr);
42
43 static fsBool systemFolderCreateDo(const fsStr& pFolderName);
44 static fsBool systemFolderDeleteDo(const fsStr& pFolderName);
45
46 static fsBool fileExistsGetDo(const fsCResourceName& pFileName);
47 static fsBool folderIsDo(const fsCResourceName& pFolderName);
48 static fsBool fileDeleteDo(const fsCResourceName& pFileName);
49
50 static fsBool folderCreateDo(const fsCResourceName& pFolderName);
51 static fsBool folderDeleteDo(const fsCResourceName& pFolderName);
52
53
54protected:
55
56private:
57
58 static fsBool rawFileNameExistsCheckDo(const fsStr& pFileName);
59};
60
61#endif
Definition fsCFile.h:23
static void preLoadODRDo(const fsCResourceName &pFilename)
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 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