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

AxPipe::CSourceMem Class Reference

A memory buffer based source. More...

#include <AxPipe.h>

Inheritance diagram for AxPipe::CSourceMem:

Inheritance graph
[legend]
Collaboration diagram for AxPipe::CSourceMem:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CSourceMem ()
 Initalize member variables.

CSourceMemInit (size_t cb, void *p)
 Initialize with a buffer to read from.


Protected Member Functions

CSegIn ()
 Get the one and only memory buffer the first time, then eof.


Private Attributes

CSegm_pSegSave
 The one and only segment provided by this class.


Detailed Description

A memory buffer based source.

Definition at line 410 of file AxPipe.h.


Member Function Documentation

CSeg* AxPipe::CSourceMem::In  )  [inline, protected, virtual]
 

Get the one and only memory buffer the first time, then eof.

Returns:
A CSeg with data or empty to indicate eof, or NULL for error.

Implements AxPipe::CSource.

Definition at line 415 of file AxPipe.h.

CSourceMem* AxPipe::CSourceMem::Init size_t  cb,
void *  p
[inline]
 

Initialize with a buffer to read from.

We do not take over ownership of the buffer! Keep track of it yourself!

Returns:
A pointer to 'this' CSourceMem

Definition at line 434 of file AxPipe.h.


The documentation for this class was generated from the following file:
Generated on Mon Feb 2 13:19:28 2004 for AxPipe by doxygen 1.3.5