6#if !defined(CXSTDIOFILE_INCLUDE_H)
7#define CXSTDIOFILE_INCLUDE_H
15BEGIN_MOOTOOLS_NAMESPACE
47 virtual fileuint GetPosition()
const;
51 virtual unsigned int Read(
void* buffer,
unsigned int maxByteToRead);
52 virtual void Write(
const void* buffer,
unsigned int byteToWrite);
58 FILE *GetStream() {
return fileStream; }
65 unsigned int bufferSize;
70 void ThrowErrno(CXFileException::FileExceptionType
exceptionType)
const;
CXFile is the base class for different kind of file (CXStdioFile, CXMemFile...)
The class defines an x, y, z 3D point which can use int, float or double.
Definition 3DPoint.h:27
CXFile is the base class for CXStdioFile, CXStdioFileEx, CXMemFile.
Definition XFile.h:42
CXStdioFile reads or write strings from the file.
Definition XStdioFile.h:24
virtual bool Open(LPCTSTR lpszFileName, unsigned int nOpenFlags, CXFileException *pError=NULL)
nOpenFlags is a combination of CXFile::OpenFlags
CXStdioFile(LPCTSTR lpszFileName, unsigned int nOpenFlags)
nOpenFlags is a combination of CXFile::OpenFlags