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

CMemSource Class Reference

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

Inheritance diagram for CMemSource:

Inheritance graph
[legend]
Collaboration diagram for CMemSource:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CMemSource (unsigned char *_buffer, unsigned long _size)
unsigned long size ()
int get ()

Private Attributes

unsigned long m_total_size
unsigned long m_current
unsigned char * m_buffer

Constructor & Destructor Documentation

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

Definition at line 28 of file CSource.h.


Member Function Documentation

int CMemSource::get  )  [inline, virtual]
 

Implements CSource.

Definition at line 35 of file CSource.h.

References m_buffer, m_current, and m_total_size.

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

Implements CInfo.

Definition at line 34 of file CSource.h.

References m_current.


Member Data Documentation

unsigned char* CMemSource::m_buffer [private]
 

Definition at line 26 of file CSource.h.

Referenced by get().

unsigned long CMemSource::m_current [private]
 

Definition at line 25 of file CSource.h.

Referenced by get(), and size().

unsigned long CMemSource::m_total_size [private]
 

Definition at line 24 of file CSource.h.

Referenced by get().


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