Go to the documentation of this file.
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());
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...
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
This bead appears in the hierarchy to refer to a FltInstanceDefinition node defined elsewhere.
TypeHandle is the identifier used to differentiate C++ class types.
FltInstanceDefinition * get_instance() const
Returns the instance subtree referenced by this node, or NULL if the reference is invalid.
This special kind of record marks the top node of an instance subtree.
A base class for any of a broad family of flt records that represent particular beads in the hierarch...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
virtual void write(std::ostream &out, int indent_level=0) const
Writes a multiple-line description of the record and all of its children.