Phasor  01.00.10.059
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
CInFile Class Reference

#include <FileIO.h>

+ Inheritance diagram for CInFile:

Public Member Functions

 CInFile ()
 
virtual ~CInFile ()
 
bool Open (const std::wstring &file)
 
template<class T >
bool ReadLine (T *out, DWORD maxCount, bool *found)
 
bool Read (BYTE *out, DWORD size, DWORD *processedSize)
 
bool ReadSome (BYTE *out, DWORD size, DWORD *written)
 
- Public Member Functions inherited from CFile
 CFile ()
 
 ~CFile ()
 
bool Open (const std::wstring &file, DWORD dwAccess, DWORD dwShared, DWORD dwCreateDeposition)
 
bool Open (const std::wstring &file, DWORD dwAccess)
 
bool IsOpen () const
 
void Close ()
 
DWORD GetFileSize ()
 
bool Seek (long distance)
 
bool SeekBegin ()
 
bool SeekEnd ()
 

Additional Inherited Members

- Static Public Member Functions inherited from CFile
static bool Move (const std::wstring &file, const std::wstring &newfile, bool overwrite)
 
static bool Delete (const std::wstring &file)
 
- Protected Attributes inherited from CFile
HANDLE hFile
 
std::wstring file_name
 

Constructor & Destructor Documentation

CInFile::CInFile ( )
CInFile::~CInFile ( )
virtual

Member Function Documentation

bool CInFile::Open ( const std::wstring &  file)
bool CInFile::Read ( BYTE *  out,
DWORD  size,
DWORD processedSize 
)
template<class T >
bool CInFile::ReadLine ( T *  out,
DWORD  maxCount,
bool *  found 
)
inline
bool CInFile::ReadSome ( BYTE *  out,
DWORD  size,
DWORD written 
)

The documentation for this class was generated from the following files: