#include <BasicFileIO.h>
Static Public Member Functions | |
static int | GetFileSize (FILE *fp) |
static bool | ReadBool (char *&pchBuffer) |
static void | ReadBytes (char *&pchBuffer, void *pDest, int nSize) |
static char | ReadChar (char *&pchBuffer) |
static double | ReadDouble (char *&pchBuffer) |
static float | ReadFloat (char *&pchBuffer) |
static int | ReadInt (char *&pchBuffer) |
static short | ReadShort (char *&pchBuffer) |
static std::string | ReadString (char *&pchBuffer) |
static bool | WriteBool (FILE *fp, bool bValue) |
static bool | WriteBytes (FILE *fp, void *pSrc, int nSize) |
static bool | WriteChar (FILE *fp, char chValue) |
static bool | WriteDouble (FILE *fp, double dValue) |
static bool | WriteFloat (FILE *fp, float fValue) |
static bool | WriteInt (FILE *fp, int nValue) |
static bool | WriteString (FILE *fp, std::string szValue) |
Definition at line 59 of file BasicFileIO.h.
int CBasicFileIO::GetFileSize | ( | FILE * | fp | ) | [static] |
Definition at line 171 of file BasicFileIO.cpp.
bool CBasicFileIO::ReadBool | ( | char *& | pchBuffer | ) | [static] |
Definition at line 62 of file BasicFileIO.cpp.
void CBasicFileIO::ReadBytes | ( | char *& | pchBuffer, |
void * | pDest, | ||
int | nSize | ||
) | [static] |
Definition at line 120 of file BasicFileIO.cpp.
char CBasicFileIO::ReadChar | ( | char *& | pchBuffer | ) | [static] |
Definition at line 69 of file BasicFileIO.cpp.
double CBasicFileIO::ReadDouble | ( | char *& | pchBuffer | ) | [static] |
Definition at line 112 of file BasicFileIO.cpp.
float CBasicFileIO::ReadFloat | ( | char *& | pchBuffer | ) | [static] |
Definition at line 104 of file BasicFileIO.cpp.
int CBasicFileIO::ReadInt | ( | char *& | pchBuffer | ) | [static] |
Definition at line 96 of file BasicFileIO.cpp.
short CBasicFileIO::ReadShort | ( | char *& | pchBuffer | ) | [static] |
Definition at line 88 of file BasicFileIO.cpp.
std::string CBasicFileIO::ReadString | ( | char *& | pchBuffer | ) | [static] |
Definition at line 76 of file BasicFileIO.cpp.
bool CBasicFileIO::WriteBool | ( | FILE * | fp, |
bool | bValue | ||
) | [static] |
Definition at line 131 of file BasicFileIO.cpp.
bool CBasicFileIO::WriteBytes | ( | FILE * | fp, |
void * | pSrc, | ||
int | nSize | ||
) | [static] |
Definition at line 165 of file BasicFileIO.cpp.
bool CBasicFileIO::WriteChar | ( | FILE * | fp, |
char | chValue | ||
) | [static] |
Definition at line 137 of file BasicFileIO.cpp.
bool CBasicFileIO::WriteDouble | ( | FILE * | fp, |
double | dValue | ||
) | [static] |
Definition at line 160 of file BasicFileIO.cpp.
bool CBasicFileIO::WriteFloat | ( | FILE * | fp, |
float | fValue | ||
) | [static] |
Definition at line 155 of file BasicFileIO.cpp.
bool CBasicFileIO::WriteInt | ( | FILE * | fp, |
int | nValue | ||
) | [static] |
Definition at line 150 of file BasicFileIO.cpp.
bool CBasicFileIO::WriteString | ( | FILE * | fp, |
std::string | szValue | ||
) | [static] |
Definition at line 142 of file BasicFileIO.cpp.