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

#include <FileIO.h>

+ Inheritance diagram for CFile:

Public Member Functions

 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 ()
 

Static Public Member Functions

static bool Move (const std::wstring &file, const std::wstring &newfile, bool overwrite)
 
static bool Delete (const std::wstring &file)
 

Protected Attributes

HANDLE hFile
 
std::wstring file_name
 

Constructor & Destructor Documentation

CFile::CFile ( )
CFile::~CFile ( )

Member Function Documentation

void CFile::Close ( )
bool CFile::Delete ( const std::wstring &  file)
static
DWORD CFile::GetFileSize ( )
bool CFile::IsOpen ( ) const
bool CFile::Move ( const std::wstring &  file,
const std::wstring &  newfile,
bool  overwrite 
)
static
bool CFile::Open ( const std::wstring &  file,
DWORD  dwAccess,
DWORD  dwShared,
DWORD  dwCreateDeposition 
)
bool CFile::Open ( const std::wstring &  file,
DWORD  dwAccess 
)
bool CFile::Seek ( long  distance)
bool CFile::SeekBegin ( )
bool CFile::SeekEnd ( )

Member Data Documentation

std::wstring CFile::file_name
protected
HANDLE CFile::hFile
protected

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