14#ifndef EGGEXTERNALREFERENCE_H
15#define EGGEXTERNALREFERENCE_H
31 virtual void write(std::ostream &out,
int indent_level)
const;
40 static void init_type() {
41 EggFilenameNode::init_type();
43 EggFilenameNode::get_class_type());
46 return get_class_type();
48 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
Defines a reference to another egg file which should be inserted at this point.
This is an egg node that contains a filename.
virtual std::string get_default_extension() const
Returns the default extension for this filename type.
TypeHandle is the identifier used to differentiate C++ class types.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...