rifffile.h File Reference

(r1785/r1282)

#include "riffform.h"

Go to the source code of this file.

Classes

class  RIFFFileLevel
class  RIFFFile
 Nice class for reading RIFF files, takes a CCFile in the Init() routine to get it's data from. This doesn't view a RIFF file quite how they're actually stored on the disc. It's viewed as a series of Objects. These objects can be Chunks Start of lists End of lists End of file An object inside a list has a higher level than the list and chunks just before the list. You ask for the next object with NextObject(). This reads in the details about the next object in the file, which you can then read with the Get functions. You can get at the data with GetChunkData - this will error if the last object is not a chunk. This function reads the data into a block you give it. Alternatively, use AquireChunkData which will read it into a block maintained by this class. Data is not read unless it has to be. RepeatCurrent() will repeat the current object, giving one level of rewind. Useful for reading files with naff structures. SkipToListEnd() will skip to the end of the list of the level given. More...

Enumerations

enum  RIFFObjectType {
  RIFFOBJECTTYPE_NONE, RIFFOBJECTTYPE_CHUNK, RIFFOBJECTTYPE_LISTSTART, RIFFOBJECTTYPE_LISTEND,
  RIFFOBJECTTYPE_FILEEND
}


Enumeration Type Documentation

enum RIFFObjectType
 

Enumerator:
RIFFOBJECTTYPE_NONE 
RIFFOBJECTTYPE_CHUNK 
RIFFOBJECTTYPE_LISTSTART 
RIFFOBJECTTYPE_LISTEND 
RIFFOBJECTTYPE_FILEEND 

Definition at line 107 of file rifffile.h.


Generated on Sat Nov 10 03:49:20 2007 for Camelot by  doxygen 1.4.4