25 output(std::ostream &out)
const {
26 out << _id <<
" (" << get_type() <<
")";
33 write(std::ostream &out,
int indent_level)
const {
34 indent(out, indent_level) << _id <<
" { ... }\n";
43 return in->make_new_chunk(
id);
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...
The basic kind of record in an EA "IFF" file, which the LightWave object file is based on.
std::ostream & indent(std::ostream &out, int indent_level)
A handy function for doing text formatting.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
TypeHandle is the identifier used to differentiate C++ class types.
A four-byte chunk ID appearing in an "IFF" file.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.