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

CP_Instream Class Reference

Abstract streaming class for reading data from a stream. More...


Detailed Description

This class can be used to read data that is streamed out by the CPLAT CP_OutStream class or from other data sources. If the data comes from a CP_OutStream, the stream data will have a header written before any data. The format of the header data is:

                    char        cplatEdian = kCP_StreamData_BigEdian;   // or kCP_StreamData_LittleEdian
                    SInt32      cplatSignature = kCP_StreamHeaderTag;   // 'CPLA'
                    SInt16      streamVersion = 1;                      // current stream version is 1
                    char        hasTags = false;                        // no debug tags

In addition to this class, there are CP_InStream and CP_OutStream classes that can write the data to a CP_HandleBlock object, or a CP_File.


The documentation for this class was generated from the following file:
Generated on Sat Sep 17 20:01:47 2005 for CPLAT by  doxygen 1.4.0