Detailed Description
- See also:
- Class AppSave,
Class
AppDataChunk.
- Description:
- This class takes a chunk-ified data stream (as written by Class
AppSave), and provides
routines for decoding it.
This class is available in release 2.0 and later only.
All methods of this class are implemented by the system.
#include <appio.h>
List of all
members.
Constructor & Destructor Documentation
virtual ~AppLoad |
( |
|
) |
[inline, protected, virtual] |
Member Function Documentation
virtual void DeleteThis |
( |
|
) |
[pure virtual] |
virtual IOResult
OpenChunk |
( |
|
) |
[pure virtual] |
- Returns:
- IO_OK - The result was acceptable - no errors.
IO_END - This is returned when the end of the chunks at a
certain level have been reached. It is used as a signal to
terminate the processing of chunks at that level.
IO_ERROR - This is returned if an error occurred.
virtual USHORT CurChunkID |
( |
|
) |
[pure virtual] |
virtual ChunkType CurChunkType |
( |
|
) |
[pure virtual] |
virtual ULONG CurChunkLength |
( |
|
) |
[pure virtual] |
virtual int CurChunkDepth |
( |
|
) |
[pure virtual] |
virtual IOResult
CloseChunk |
( |
|
) |
[pure virtual] |
- Returns:
- A return value of IO_ERROR indicates there is no open
chunk to close; otherwise IO_OK.
virtual USHORT PeekNextChunkID |
( |
|
) |
[pure virtual] |
virtual IOResult
Read |
( |
void * |
buf, |
|
|
ULONG |
nbytes, |
|
|
ULONG * |
nread |
|
) |
|
[pure virtual] |
- Parameters:
- void *buf
A pointer to the buffer to read.
ULONG nbytes
The number of bytes to read.
ULONG *nread
The number of bytes that were read.
- Returns:
- A return value of IO_ERROR indicates an error occurred,
otherwise IO_OK.
virtual IOResult
ReadWStringChunk |
( |
char ** |
buf |
) |
[pure virtual] |
- Parameters:
- char** buf
A pointer to an array of characters.
- Returns:
- A return value of IO_ERROR indicates an error occurred,
otherwise IO_OK.
virtual IOResult
ReadWStringChunk |
( |
mwchar_t ** |
buf |
) |
[pure virtual] |
- Parameters:
- mwchar_t** buf
A pointer to an array of wide characters.
- Returns:
- A return value of IO_ERROR indicates an error occurred,
otherwise IO_OK.
virtual IOResult
ReadCStringChunk |
( |
char ** |
buf |
) |
[pure virtual] |
- Parameters:
- char** buf
A pointer to an array of single byte characters.
- Returns:
- A return value of IO_ERROR indicates an error occurred,
otherwise IO_OK.
virtual IOResult
ReadCStringChunk |
( |
mwchar_t ** |
buf |
) |
[pure virtual] |
- Parameters:
- mwchar_t** buf
A pointer to an array of wide characters.
- Returns:
- A return value of IO_ERROR indicates an error occurred,
otherwise IO_OK.