Handles IFF files.
Public Methods
-
IFFHandler(handlertype htp, const char* fname, const char* ifftype)
- Create an IFF handler Either create (htp is writer) or read (htp is reader) an IFF file with the name fname and the type ifftype
-
~IFFHandler()
- This closes the IFF file and cleans it up/
-
void add_chunk(const char* chnkheader)
- Add a new chunk to a writer
-
void add_data_to_chunk(const char* data, int bfrsize)
- Add bfrize of data to writer
-
void end_chunk()
- Close the chunk (No more data may be added)
-
void next_chunk()
- Skip to next chunk
-
void next_chunk(const char* chnkheader)
- Skip to next chunk with called chnkheader
-
void reset_chunk_offset()
- Reset chunk offset
-
int read(char* bfr, int bfrsize)
- Read bfrsize from chunk offset.
Documentation
Handles IFF files.
Handles creation and parsing of IFF files.
IFFHandler(handlertype htp, const char* fname, const char* ifftype)
- Create an IFF handler
Either create (htp is writer) or read (htp is reader) an
IFF file with the name fname and the type ifftype
~IFFHandler()
- This closes the IFF file and cleans it up/
void add_chunk(const char* chnkheader)
- Add a new chunk to a writer
void add_data_to_chunk(const char* data, int bfrsize)
- Add bfrize of data to writer
void end_chunk()
- Close the chunk (No more data may be added)
void next_chunk()
- Skip to next chunk
void next_chunk(const char* chnkheader)
- Skip to next chunk with called chnkheader
void reset_chunk_offset()
- Reset chunk offset
int read(char* bfr, int bfrsize)
- Read bfrsize from chunk offset.
Returns either bfrsize or less (depending
on the size of the chunk.)
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.