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