31 virtual void write(std::ostream &out,
int indent_level = 0)
const;
37 return get_class_type();
39 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
43 static void init_type() {
44 LwoGroupChunk::init_type();
46 LwoGroupChunk::get_class_type());
virtual IffChunk * make_new_chunk(IffInputFile *in, IffId id)
Allocates and returns a new chunk of the appropriate type based on the given ID, according to the con...
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A single image file, or a numbered sequence of images (e.g.
The basic kind of record in an EA "IFF" file, which the LightWave object file is based on.
virtual bool read_iff(IffInputFile *in, size_t stop_at)
Reads the data of the chunk in from the given input file, if possible.
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.
A four-byte chunk ID appearing in an "IFF" file.