14 #ifndef EGGNAMEDOBJECT_H 15 #define EGGNAMEDOBJECT_H 32 void output(std::ostream &out)
const;
35 void write_header(std::ostream &out,
int indent_level,
36 const char *egg_keyword)
const;
42 static void init_type() {
43 EggObject::init_type();
46 EggObject::get_class_type(),
47 Namable::get_class_type());
50 return get_class_type();
52 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
58 INLINE std::ostream &operator << (std::ostream &out,
const EggNamedObject &n);
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(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void output(std::ostream &out) const
Outputs the Namable.
A base class for all things which can have a name.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This is a fairly low-level base class–any egg object that has a name.
TypeHandle is the identifier used to differentiate C++ class types.
The highest-level base class in the egg directory.