14 #ifndef IFFGENERICCHUNK_H
15 #define IFFGENERICCHUNK_H
36 virtual void write(std::ostream &out,
int indent_level = 0)
const;
43 return get_class_type();
45 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
49 static void init_type() {
50 IffChunk::init_type();
52 IffChunk::get_class_type());
An ordered list of data elements, formatted in memory for transmission over a socket or writing to a ...
The basic kind of record in an EA "IFF" file, which the LightWave object file is based on.
A class for a generic kind of IffChunk that is not understood by a particular IffReader.
virtual bool read_iff(IffInputFile *in, size_t stop_at)
Reads the data of the chunk in from the given input file, if possible.
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.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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(),...