28 const std::string &
get_id()
const;
29 void set_id(
const std::string &
id);
31 virtual void output(std::ostream &out)
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());
void set_id(const std::string &id)
Changes the id (name) of this particular bead.
This class writes a sequence of FltRecords to an ostream, handling opcode and size counts properly.
A base class for any of a broad family of flt beads that include an ID.
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(),...
A base class for any of a broad family of flt records that represent particular beads in the hierarch...
virtual void output(std::ostream &out) const
Writes a quick one-line description of the record, but not its children.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
TypeHandle is the identifier used to differentiate C++ class types.
const std::string & get_id() const
Returns the id (name) of this particular bead.