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

#include <mutil.h>

Inheritance diagram for CMAsciiReadFileStream:
IMReadStream IMStream

Public Member Functions

MDLLEXPORT CMAsciiReadFileStream ()
 
virtual MDLLEXPORT ~CMAsciiReadFileStream ()
 
virtual MDLLEXPORT bool Open (const CMString &)
 
virtual MDLLEXPORT bool Close ()
 
virtual MDLLEXPORT bool IsOpen ()
 
virtual MDLLEXPORT bool IsEnd ()
 
virtual IMReadStreamCloneAndOpen (const CMString &name)
 
virtual long BytesProcessed ()
 
- Public Member Functions inherited from IMReadStream
virtual ~IMReadStream ()
 
bool Read (long &d)
 
bool Read (unsigned long &d)
 
bool Read (int &d)
 
bool Read (unsigned int &d)
 
bool Read (short &d)
 
bool Read (unsigned short &d)
 
bool Read (char &d)
 
bool Read (unsigned char &d)
 
bool Read (signed char &d)
 
bool Read (float &d)
 
bool Read (double &d)
 
bool Read (long long &d)
 
bool Read (unsigned long long &d)
 
bool Read (CMString &d)
 
bool ReadLine (CMString &d)
 
bool Read (void *p, long lenInElements, long elSize=1)
 
- Public Member Functions inherited from IMStream
virtual ~IMStream ()
 

Protected Member Functions

virtual bool ReadSimpleType (void *pData, long lenInBytes)
 
virtual bool ReadBlob (void *pData, long lenInElements, long elSize)
 
virtual bool ReadString (CMString &string)
 
virtual bool ReadStringLine (CMString &string)
 

Private Attributes

FILE * m_pFile
 
CMString m_fileName
 
bool m_bIsOpen
 
bool m_bIsEof
 
long m_bytesProcessed
 

Constructor & Destructor Documentation

CMAsciiReadFileStream::CMAsciiReadFileStream ( )
CMAsciiReadFileStream::~CMAsciiReadFileStream ( )
virtual

Member Function Documentation

virtual long CMAsciiReadFileStream::BytesProcessed ( )
inlinevirtual

Implements IMStream.

IMReadStream * CMAsciiReadFileStream::CloneAndOpen ( const CMString name)
virtual

Implements IMReadStream.

bool CMAsciiReadFileStream::Close ( )
virtual

Implements IMStream.

bool CMAsciiReadFileStream::IsEnd ( )
virtual

Implements IMStream.

bool CMAsciiReadFileStream::IsOpen ( )
virtual

Implements IMStream.

bool CMAsciiReadFileStream::Open ( const CMString name)
virtual

Implements IMStream.

bool CMAsciiReadFileStream::ReadBlob ( void *  pData,
long  lenInElements,
long  elSize 
)
protectedvirtual

Implements IMReadStream.

bool CMAsciiReadFileStream::ReadSimpleType ( void *  pData,
long  lenInBytes 
)
protectedvirtual

Implements IMReadStream.

bool CMAsciiReadFileStream::ReadString ( CMString string)
protectedvirtual

Implements IMReadStream.

bool CMAsciiReadFileStream::ReadStringLine ( CMString string)
protectedvirtual

Implements IMReadStream.

Member Data Documentation

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

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