15 #ifndef EGGNAMEDOBJECT_H
16 #define EGGNAMEDOBJECT_H
18 #include "pandabase.h"
20 #include "eggObject.h"
22 #include "referenceCount.h"
32 INLINE EggNamedObject(
const EggNamedObject ©);
33 INLINE EggNamedObject &operator = (
const EggNamedObject ©);
35 void output(ostream &out)
const;
38 void write_header(ostream &out,
int indent_level,
39 const char *egg_keyword)
const;
45 static void init_type() {
46 EggObject::init_type();
48 register_type(_type_handle,
"EggNamedObject",
49 EggObject::get_class_type(),
50 Namable::get_class_type());
53 return get_class_type();
55 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
61 INLINE ostream &operator << (ostream &out,
const EggNamedObject &n);
63 #include "eggNamedObject.I"
A base class for all things which can have a name.
This is a fairly low-level base class–any egg object that has a name.
void output(ostream &out) const
Outputs the Namable.
TypeHandle is the identifier used to differentiate C++ class types.
The highest-level base class in the egg directory.