The C++ framework for developing highly scalable, high performance servers on Windows platforms.

CFileOutputStream Class Reference
[I/O StreamsFileIO]

Inheritance diagram for CFileOutputStream:
Collaboration diagram for CFileOutputStream:

List of all members.

Detailed Description

An object that implements ICloseableOutputStream on a file.

Public Types

enum  CreationDisposition {
  CreateNew, CreateAlways, OpenExisting, OpenAlways,
  TruncateExisting, TruncateAlways
typedef unsigned long DataLength

Public Member Functions

 CFileOutputStream (const JetByteTools::Core::_tstring &filePath, CreationDisposition disposition=OpenAlways)
 Construct the output stream on the supplied file.
 CFileOutputStream (const CFileOutputStream &rhs)
CFileOutputStreamoperator= (const CFileOutputStream &rhs)
void Write (const BYTE *pData, DataLength dataLength) override
void Close () override
virtual void WriteString (const std::string &message)

Member Typedef Documentation

typedef unsigned long DataLength [inherited]

Member Enumeration Documentation


Constructor & Destructor Documentation

CFileOutputStream ( const JetByteTools::Core::_tstring filePath,
CreationDisposition  disposition = OpenAlways 
) [explicit]

Construct the output stream on the supplied file.

CFileOutputStream ( const CFileOutputStream rhs  ) 

Member Function Documentation

CFileOutputStream& operator= ( const CFileOutputStream rhs  ) 

void Write ( const BYTE pData,
DataLength  dataLength 
) [override, virtual]

Implements IOutputStream.

void Close (  )  [override, virtual]

virtual void WriteString ( const std::string &  message  )  [inline, virtual, inherited]

Generated on Sun Sep 12 19:09:24 2021 for The Server Framework - v7.4 by doxygen 1.5.3