NWindows::NFile::NIO::COutFile Class Reference

#include <FileIO.h>

Inheritance diagram for NWindows::NFile::NIO::COutFile:

NWindows::NFile::NIO::CFileBase

List of all members.

Public Member Functions

bool Open (LPCTSTR fileName, DWORD shareMode, DWORD creationDisposition, DWORD flagsAndAttributes)
bool Open (LPCTSTR fileName, DWORD creationDisposition)
bool Create (LPCTSTR fileName, bool createAlways)
bool Open (LPCWSTR fileName, DWORD shareMode, DWORD creationDisposition, DWORD flagsAndAttributes)
bool Open (LPCWSTR fileName, DWORD creationDisposition)
bool Create (LPCWSTR fileName, bool createAlways)
bool SetTime (const FILETIME *creationTime, const FILETIME *lastAccessTime, const FILETIME *lastWriteTime)
bool SetLastWriteTime (const FILETIME *lastWriteTime)
bool WritePart (const void *data, UInt32 size, UInt32 &processedSize)
bool Write (const void *data, UInt32 size, UInt32 &processedSize)
bool SetEndOfFile ()
bool SetLength (UInt64 length)


Detailed Description

Definition at line 68 of file FileIO.h.


Member Function Documentation

bool NWindows::NFile::NIO::COutFile::Open ( LPCTSTR  fileName,
DWORD  shareMode,
DWORD  creationDisposition,
DWORD  flagsAndAttributes 
)

Definition at line 164 of file FileIO.cpp.

References NWindows::NFile::NIO::CFileBase::Create().

Referenced by Create(), and Open().

bool NWindows::NFile::NIO::COutFile::Open ( LPCTSTR  fileName,
DWORD  creationDisposition 
)

Definition at line 170 of file FileIO.cpp.

References Open().

bool NWindows::NFile::NIO::COutFile::Create ( LPCTSTR  fileName,
bool  createAlways 
)

Definition at line 173 of file FileIO.cpp.

References NWindows::NFile::NIO::GetCreationDisposition(), and Open().

bool NWindows::NFile::NIO::COutFile::Open ( LPCWSTR  fileName,
DWORD  shareMode,
DWORD  creationDisposition,
DWORD  flagsAndAttributes 
)

Definition at line 178 of file FileIO.cpp.

References NWindows::NFile::NIO::CFileBase::Create().

bool NWindows::NFile::NIO::COutFile::Open ( LPCWSTR  fileName,
DWORD  creationDisposition 
)

Definition at line 181 of file FileIO.cpp.

References Open().

bool NWindows::NFile::NIO::COutFile::Create ( LPCWSTR  fileName,
bool  createAlways 
)

Definition at line 184 of file FileIO.cpp.

References NWindows::NFile::NIO::GetCreationDisposition(), and Open().

bool NWindows::NFile::NIO::COutFile::SetTime ( const FILETIME creationTime,
const FILETIME lastAccessTime,
const FILETIME lastWriteTime 
)

Definition at line 189 of file FileIO.cpp.

References NWindows::NFile::NIO::CFileBase::_handle, and BOOLToBool.

Referenced by SetLastWriteTime().

bool NWindows::NFile::NIO::COutFile::SetLastWriteTime ( const FILETIME lastWriteTime  ) 

Definition at line 192 of file FileIO.cpp.

References NULL, and SetTime().

bool NWindows::NFile::NIO::COutFile::WritePart ( const void *  data,
UInt32  size,
UInt32 processedSize 
)

bool NWindows::NFile::NIO::COutFile::Write ( const void *  data,
UInt32  size,
UInt32 processedSize 
)

Definition at line 205 of file FileIO.cpp.

References WritePart().

bool NWindows::NFile::NIO::COutFile::SetEndOfFile (  ) 

Definition at line 224 of file FileIO.cpp.

References NWindows::NFile::NIO::CFileBase::_handle, and BOOLToBool.

Referenced by SetLength().

bool NWindows::NFile::NIO::COutFile::SetLength ( UInt64  length  ) 

Definition at line 226 of file FileIO.cpp.

References NWindows::NFile::NIO::CFileBase::Seek(), and SetEndOfFile().


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

Generated on Sun May 25 00:21:49 2008 by  doxygen 1.5.6