14#ifndef FLTINSTANCEREF_H
15#define FLTINSTANCEREF_H
36 virtual void write(std::ostream &out,
int indent_level = 0)
const;
40 virtual FltError write_record_and_children(
FltRecordWriter &writer)
const;
45 return get_class_type();
47 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
51 static void init_type() {
54 FltBead::get_class_type());
A base class for any of a broad family of flt records that represent particular beads in the hierarch...
This special kind of record marks the top node of an instance subtree.
This bead appears in the hierarchy to refer to a FltInstanceDefinition node defined elsewhere.
virtual void write(std::ostream &out, int indent_level=0) const
Writes a multiple-line description of the record and all of its children.
FltInstanceDefinition * get_instance() const
Returns the instance subtree referenced by this node, or NULL if the reference is invalid.
This class turns an istream into a sequence of FltRecords by reading a sequence of Datagrams and extr...
This class writes a sequence of FltRecords to an ostream, handling opcode and size counts properly.
TypeHandle is the identifier used to differentiate C++ class types.
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(),...