37 virtual bool read_iff(
IffInputFile *in,
size_t stop_at)=0;
39 virtual void output(std::ostream &out)
const;
40 virtual void write(std::ostream &out,
int indent_level = 0)
const;
49 return get_class_type();
51 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
55 static void init_type() {
56 TypedReferenceCount::init_type();
58 TypedReferenceCount::get_class_type());
67 INLINE std::ostream &operator << (std::ostream &out,
const IffChunk &chunk) {
The basic kind of record in an EA "IFF" file, which the LightWave object file is based on.
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 set_id(IffId id)
Changes the ID associated with this chunk.
IffId get_id() const
Returns the ID associated with this chunk.
A four-byte chunk ID appearing in an "IFF" file.
TypeHandle is the identifier used to differentiate C++ class types.
A base class for things which need to inherit from both TypedObject and from ReferenceCount.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.