38 virtual void write(std::ostream &out,
int indent_level = 0)
const;
46 return get_class_type();
48 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
52 static void init_type() {
53 LwoChunk::init_type();
55 LwoChunk::get_class_type());
A four-byte chunk ID appearing in an "IFF" file.
A specialization of IffChunk for Lightwave Object files.
A mapping of floating-point values per integer index.
PTA_stdfloat get_value(int index) const
Returns the mapping value associated with the given index, or an empty PTA_stdfloat if there is no ma...
virtual bool read_iff(IffInputFile *in, size_t stop_at)
Reads the data of the chunk in from the given input file, if possible.
bool has_value(int index) const
Returns true if the map has a value associated with the given index, false otherwise.
TypeHandle is the identifier used to differentiate C++ class types.
This is our own Panda specialization on the default STL map.
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(),...