27EggExternalReference(
const std::string &node_name,
const std::string &filename)
44 EggFilenameNode::operator = (copy);
52write(std::ostream &out,
int indent_level)
const {
55 indent(out, indent_level) <<
"}\n";
63 return std::string(
"egg");
Defines a reference to another egg file which should be inserted at this point.
virtual std::string get_default_extension() const
Returns the default extension for this filename type.
virtual void write(std::ostream &out, int indent_level) const
Writes the reference to the indicated output stream in Egg format.
This is an egg node that contains a filename.
const Filename & get_filename() const
Returns a nonmodifiable reference to the filename.
void write_header(std::ostream &out, int indent_level, const char *egg_keyword) const
Writes the first line of the egg object, e.g.
TypeHandle is the identifier used to differentiate C++ class types.
std::ostream & indent(std::ostream &out, int indent_level)
A handy function for doing text formatting.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
ostream & enquote_string(ostream &out, const string &str, int indent_level, bool always_quote)
Writes the string to the indicated output stream.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.