Go to the documentation of this file.
25 output(std::ostream &out)
const {
28 out <<
" " << get_name();
39 write_header(std::ostream &out,
int indent_level,
const char *egg_keyword)
const {
40 indent(out, indent_level) << egg_keyword <<
" ";
std::ostream & indent(std::ostream &out, int indent_level)
A handy function for doing text formatting.
ostream & enquote_string(ostream &out, const string &str, int indent_level, bool always_quote)
Writes the string to the indicated output stream.
TypeHandle is the identifier used to differentiate C++ class types.
void write_header(std::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.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.