15 #ifndef IFFGENERICCHUNK_H
16 #define IFFGENERICCHUNK_H
18 #include "pandatoolbase.h"
39 virtual void write(ostream &out,
int indent_level = 0)
const;
46 return get_class_type();
48 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
52 static void init_type() {
53 IffChunk::init_type();
54 register_type(_type_handle,
"IffGenericChunk",
55 IffChunk::get_class_type());
62 #include "iffGenericChunk.I"
virtual bool read_iff(IffInputFile *in, size_t stop_at)
Reads the data of the chunk in from the given input file, if possible.
The basic kind of record in an EA "IFF" file, which the LightWave object file is based on...
const Datagram & get_data() const
Returns the data in the chunk.
void set_data(const Datagram &data)
Changes the data in the chunk.
TypeHandle is the identifier used to differentiate C++ class types.
An ordered list of data elements, formatted in memory for transmission over a socket or writing to a ...
A class for a generic kind of IffChunk that is not understood by a particular IffReader.