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

#include <mutil.h>

Inheritance diagram for CMReadFileStream:
IMReadStream IMStream

Public Member Functions

MDLLEXPORT CMReadFileStream ()
 
virtual MDLLEXPORT ~CMReadFileStream ()
 
virtual MDLLEXPORT bool Open (const CMString &name)
 
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

CMReadFileStream::CMReadFileStream ( )
CMReadFileStream::~CMReadFileStream ( )
virtual

Member Function Documentation

virtual long CMReadFileStream::BytesProcessed ( )
inlinevirtual

Implements IMStream.

virtual IMReadStream* CMReadFileStream::CloneAndOpen ( const CMString name)
inlinevirtual

Implements IMReadStream.

bool CMReadFileStream::Close ( )
virtual

Implements IMStream.

bool CMReadFileStream::IsEnd ( )
virtual

Implements IMStream.

bool CMReadFileStream::IsOpen ( )
virtual

Implements IMStream.

bool CMReadFileStream::Open ( const CMString name)
virtual

Implements IMStream.

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

Implements IMReadStream.

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

Implements IMReadStream.

bool CMReadFileStream::ReadString ( CMString string)
protectedvirtual

Implements IMReadStream.

bool CMReadFileStream::ReadStringLine ( CMString string)
protectedvirtual

Implements IMReadStream.

Member Data Documentation

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

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