15 #include "eggNamedObject.h"
16 #include "eggMiscFuncs.h"
28 output(ostream &out)
const {
31 out <<
" " << get_name();
45 write_header(ostream &out,
int indent_level,
const char *egg_keyword)
const {
46 indent(out, indent_level) << egg_keyword <<
" ";
49 enquote_string(out, get_name()) <<
" {\n";
void write_header(ostream &out, int indent_level, const char *egg_keyword) const
Writes the first line of the egg object, e.g.
bool has_name() const
Returns true if the Namable has a nonempty name set, false if the name is empty.
TypeHandle is the identifier used to differentiate C++ class types.