14#ifndef EGGEXTERNALREFERENCE_H
15#define EGGEXTERNALREFERENCE_H
25class EXPCL_PANDA_EGG EggExternalReference :
public EggFilenameNode {
27 explicit EggExternalReference(
const std::string &node_name,
const std::string &filename);
28 EggExternalReference(
const EggExternalReference ©);
29 EggExternalReference &operator = (
const EggExternalReference ©);
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();}
virtual void write(std::ostream &out, int indent_level) const
Writes the reference to the indicated output stream in Egg format.
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(),...