SampleICC Main srcforge
Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

CIccMemIO Class Reference

#include <IccIO.h>

Inheritance diagram for CIccMemIO:

CIccIO List of all members.

Public Member Functions

 CIccMemIO ()
virtual ~CIccMemIO ()
bool Alloc (icUInt32Number nSize, bool bWrite=false)
bool Attach (icUInt8Number *pData, icUInt32Number nSize, bool bWrite=false)
virtual void Close ()
virtual icInt32Number Read8 (void *pBuf, icInt32Number nNum=1)
virtual icInt32Number Write8 (void *pBuf, icInt32Number nNum=1)
virtual icInt32Number GetLength ()
virtual icInt32Number Seek (icInt32Number nOffset, icSeekVal pos)
virtual icInt32Number Tell ()
icUInt8NumberGetData ()

Protected Attributes

icUInt8Numberm_pData
icUInt32Number m_nSize
icUInt32Number m_nAvail
icUInt32Number m_nPos
bool m_bFreeData

Detailed Description

Type: Class

Purpose: Handles generic memory IO


Constructor & Destructor Documentation

CIccMemIO::CIccMemIO  ) 
 

CIccMemIO::~CIccMemIO  )  [virtual]
 


Member Function Documentation

bool CIccMemIO::Alloc icUInt32Number  nSize,
bool  bWrite = false
 

bool CIccMemIO::Attach icUInt8Number pData,
icUInt32Number  nSize,
bool  bWrite = false
 

void CIccMemIO::Close  )  [virtual]
 

Reimplemented from CIccIO.

icUInt8Number* CIccMemIO::GetData  )  [inline]
 

icInt32Number CIccMemIO::GetLength  )  [virtual]
 

Reimplemented from CIccIO.

icInt32Number CIccMemIO::Read8 void *  pBuf,
icInt32Number  nNum = 1
[virtual]
 

Reimplemented from CIccIO.

icInt32Number CIccMemIO::Seek icInt32Number  nOffset,
icSeekVal  pos
[virtual]
 

Reimplemented from CIccIO.

icInt32Number CIccMemIO::Tell  )  [virtual]
 

Reimplemented from CIccIO.

icInt32Number CIccMemIO::Write8 void *  pBuf,
icInt32Number  nNum = 1
[virtual]
 

Reimplemented from CIccIO.


Member Data Documentation

bool CIccMemIO::m_bFreeData [protected]
 

icUInt32Number CIccMemIO::m_nAvail [protected]
 

icUInt32Number CIccMemIO::m_nPos [protected]
 

icUInt32Number CIccMemIO::m_nSize [protected]
 

icUInt8Number* CIccMemIO::m_pData [protected]
 


The documentation for this class was generated from the following files:
Generated on Tue Jun 26 17:51:44 2007 for IccProfLib by  doxygen 1.3.9.1