Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

CMemSink Class Reference

#include </home/clem/local/src/opie/noncore/apps/opie-reader/CSource.h>

Inheritance diagram for CMemSink:

Inheritance graph
[legend]
Collaboration diagram for CMemSink:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CMemSink (unsigned char *_buffer, unsigned long _size)
unsigned long size ()
void put (unsigned char c)

Private Attributes

unsigned long m_total_size
unsigned long m_current
unsigned char * m_buffer

Constructor & Destructor Documentation

CMemSink::CMemSink unsigned char *  _buffer,
unsigned long  _size
[inline]
 

Definition at line 47 of file CSource.h.


Member Function Documentation

void CMemSink::put unsigned char  c  )  [inline, virtual]
 

Implements CSink.

Definition at line 54 of file CSource.h.

References m_buffer, m_current, and m_total_size.

unsigned long CMemSink::size  )  [inline, virtual]
 

Implements CInfo.

Definition at line 53 of file CSource.h.

References m_current.

Referenced by UnPPM().


Member Data Documentation

unsigned char* CMemSink::m_buffer [private]
 

Definition at line 45 of file CSource.h.

Referenced by put().

unsigned long CMemSink::m_current [private]
 

Definition at line 44 of file CSource.h.

Referenced by put(), and size().

unsigned long CMemSink::m_total_size [private]
 

Definition at line 43 of file CSource.h.

Referenced by put().


The documentation for this class was generated from the following file:
Generated on Sat Nov 5 17:29:09 2005 for OPIE by  doxygen 1.4.2