15 #ifndef LWOGROUPCHUNK_H
16 #define LWOGROUPCHUNK_H
18 #include "pandatoolbase.h"
23 #include "pointerTo.h"
39 bool read_subchunks_iff(
IffInputFile *in,
size_t stop_at);
40 void write_chunks(ostream &out,
int indent_level)
const;
47 return get_class_type();
49 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
53 static void init_type() {
54 LwoChunk::init_type();
55 register_type(_type_handle,
"LwoGroupChunk",
56 LwoChunk::get_class_type());
int get_num_chunks() const
Returns the number of child chunks of this group.
IffChunk * get_chunk(int n) const
Returns the nth child chunk of this group.
The basic kind of record in an EA "IFF" file, which the LightWave object file is based on...
A specialization of IffChunk for Lightwave Object files.
A particular kind of LwoChunk that is expected to contain an arbitrary number of child chunks...
TypeHandle is the identifier used to differentiate C++ class types.