libpgf  6.12.24
PGF - Progressive Graphics File
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
CPGFStream Class Referenceabstract

#include <PGFstream.h>

Inheritance diagram for CPGFStream:
CPGFFileStream CPGFMemoryStream

Public Member Functions

*Standard constructor * CPGFStream ()
 
*Standard destructor *virtual ~CPGFStream ()
 
*Write some bytes out of a
buffer into this stream *param
count A pointer to a value
containing the number of bytes
should be written After this
call it contains the number of
written bytes *param buffer A
memory buffer *virtual void 
Write (int *count, void *buffer)=0
 
*Read some bytes from this
stream and stores them into a
buffer *param count A pointer
to a value containing the
number of bytes should be read
After this call it contains
the number of read bytes
*param buffer A memory buffer
*virtual void 
Read (int *count, void *buffer)=0
 
*Set stream position either
absolute or relative *param
posMode A position 
mode (FSFromStart, FSFromCurrent, FSFromEnd)*@param posOff A new stream position(absolute positioning) or a position offset(relative positioning)*/virtual void SetPos(short posMode
 
*Get current stream position
*return Current stream
position *virtual UINT64 
GetPos () const =0
 
*Check stream validity *return
True if stream and current
position is valid *virtual
bool 
IsValid () const =0
 

Public Attributes

*Set stream position either
absolute or relative *param
posMode A position INT64 
posOff =0
 

Detailed Description

Definition at line 38 of file PGFstream.h.

Constructor & Destructor Documentation

* Standard constructor* CPGFStream::CPGFStream ( )
inline

Definition at line 43 of file PGFstream.h.

{}
* Standard destructor* virtual CPGFStream::~CPGFStream ( )
inlinevirtual

Definition at line 47 of file PGFstream.h.

{}

Member Function Documentation

* Get current stream position* return Current stream position* virtual UINT64 CPGFStream::GetPos ( ) const
pure virtual

Implemented in CPGFMemoryStream, and CPGFFileStream.

* Check stream validity* return True if stream and current position is valid* virtual bool CPGFStream::IsValid ( ) const
pure virtual

Implemented in CPGFMemoryStream, and CPGFFileStream.

* Set stream position either absolute or relative* param posMode A position CPGFStream::mode ( FSFromStart  ,
FSFromCurrent  ,
FSFromEnd   
)
new
* Read some bytes from this stream and stores them into a buffer* param count A pointer to a value containing the number of bytes should be read After this call it contains the number of read bytes* param buffer A memory buffer* virtual void CPGFStream::Read ( int *  count,
void *  buffer 
)
pure virtual

Implemented in CPGFMemoryStream, and CPGFFileStream.

* Write some bytes out of a buffer into this stream* param count A pointer to a value containing the number of bytes should be written After this call it contains the number of written bytes* param buffer A memory buffer* virtual void CPGFStream::Write ( int *  count,
void *  buffer 
)
pure virtual

Implemented in CPGFMemoryStream, and CPGFFileStream.

Member Data Documentation

* Set stream position either absolute or relative* param posMode A position INT64 CPGFStream::posOff =0

Definition at line 65 of file PGFstream.h.


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