Panda3D
|
Defines a reference to another egg file which should be inserted at this point. More...
#include "eggExternalReference.h"
Public Member Functions | |
EggExternalReference (const string &node_name, const string &filename) | |
EggExternalReference (const EggExternalReference ©) | |
virtual TypeHandle | force_init_type () |
virtual string | get_default_extension () const |
Returns the default extension for this filename type. | |
virtual TypeHandle | get_type () const |
EggExternalReference & | operator= (const EggExternalReference ©) |
virtual void | write (ostream &out, int indent_level) const |
Writes the reference to the indicated output stream in Egg format. | |
Static Public Member Functions | |
static TypeHandle | get_class_type () |
static void | init_type () |
This function is declared non-inline to work around a compiler bug in g++ 2.96. |
Defines a reference to another egg file which should be inserted at this point.
Definition at line 27 of file eggExternalReference.h.
string EggExternalReference::get_default_extension | ( | ) | const [virtual] |
Returns the default extension for this filename type.
Reimplemented from EggFilenameNode.
Definition at line 74 of file eggExternalReference.cxx.
static void EggExternalReference::init_type | ( | ) | [inline, static] |
This function is declared non-inline to work around a compiler bug in g++ 2.96.
Making it inline seems to cause problems in the optimizer.
Reimplemented from EggFilenameNode.
Definition at line 42 of file eggExternalReference.h.
References EggFilenameNode::init_type().
void EggExternalReference::write | ( | ostream & | out, |
int | indent_level | ||
) | const [virtual] |
Writes the reference to the indicated output stream in Egg format.
Implements EggNode.
Definition at line 62 of file eggExternalReference.cxx.
References EggFilenameNode::get_filename(), and EggNamedObject::write_header().