Whiteboard
An interface and tools for visualizing large and complex datasets
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
CMAsciiWriteFileStream Class Reference

#include <mutil.h>

Inheritance diagram for CMAsciiWriteFileStream:
IMWriteStream IMStream

Public Member Functions

MDLLEXPORT CMAsciiWriteFileStream ()
 
virtual MDLLEXPORT ~CMAsciiWriteFileStream ()
 
virtual MDLLEXPORT bool Open (const CMString &)
 
virtual MDLLEXPORT bool Close ()
 
virtual MDLLEXPORT bool IsOpen ()
 
virtual MDLLEXPORT bool IsEnd ()
 
virtual MDLLEXPORT bool WriteLine (const CMString &line)
 
virtual IMWriteStreamCloneAndOpen (const CMString &name)
 
virtual long BytesProcessed ()
 
- Public Member Functions inherited from IMWriteStream
virtual ~IMWriteStream ()
 
bool Write (const long &d)
 
bool Write (const unsigned long &d)
 
bool Write (const int &d)
 
bool Write (const unsigned int &d)
 
bool Write (const short &d)
 
bool Write (const unsigned short &d)
 
bool Write (const char &d)
 
bool Write (const unsigned char &d)
 
bool Write (const signed char &d)
 
bool Write (const float &d)
 
bool Write (const double &d)
 
bool Write (const long long &d)
 
bool Write (const unsigned long long &d)
 
bool Write (const CMString &d)
 
bool WriteLine (const CMString &d)
 
bool Write (const void *p, long lenInElements, long elSize=1)
 
- Public Member Functions inherited from IMStream
virtual ~IMStream ()
 

Protected Member Functions

virtual bool WriteSimpleType (const void *pData, long lenInBytes)
 
virtual bool WriteBlob (const void *pData, long lenInElements, long elSize)
 
virtual bool WriteString (const CMString &string)
 
virtual bool WriteStringLine (const CMString &string)
 

Private Attributes

FILE * m_pFile
 
CMString m_fileName
 
bool m_bIsOpen
 
bool m_bIsEof
 
long m_bytesProcessed
 

Constructor & Destructor Documentation

CMAsciiWriteFileStream::CMAsciiWriteFileStream ( )
CMAsciiWriteFileStream::~CMAsciiWriteFileStream ( )
virtual

Member Function Documentation

virtual long CMAsciiWriteFileStream::BytesProcessed ( )
inlinevirtual

Implements IMStream.

virtual IMWriteStream* CMAsciiWriteFileStream::CloneAndOpen ( const CMString name)
inlinevirtual

Implements IMWriteStream.

bool CMAsciiWriteFileStream::Close ( )
virtual

Implements IMStream.

bool CMAsciiWriteFileStream::IsEnd ( )
virtual

Implements IMStream.

bool CMAsciiWriteFileStream::IsOpen ( )
virtual

Implements IMStream.

bool CMAsciiWriteFileStream::Open ( const CMString name)
virtual

Implements IMStream.

bool CMAsciiWriteFileStream::WriteBlob ( const void *  pData,
long  lenInElements,
long  elSize 
)
protectedvirtual

Implements IMWriteStream.

bool CMAsciiWriteFileStream::WriteLine ( const CMString line)
virtual
bool CMAsciiWriteFileStream::WriteSimpleType ( const void *  pData,
long  lenInBytes 
)
protectedvirtual

Implements IMWriteStream.

bool CMAsciiWriteFileStream::WriteString ( const CMString string)
protectedvirtual

Implements IMWriteStream.

bool CMAsciiWriteFileStream::WriteStringLine ( const CMString string)
protectedvirtual

Implements IMWriteStream.

Member Data Documentation

bool CMAsciiWriteFileStream::m_bIsEof
private
bool CMAsciiWriteFileStream::m_bIsOpen
private
long CMAsciiWriteFileStream::m_bytesProcessed
private
CMString CMAsciiWriteFileStream::m_fileName
private
FILE* CMAsciiWriteFileStream::m_pFile
private

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