14 #ifndef EGGFILENAMENODE_H 15 #define EGGFILENAMENODE_H 34 virtual std::string get_default_extension()
const;
36 INLINE
const Filename &get_filename()
const;
37 INLINE
void set_filename(
const Filename &filename);
39 INLINE
const Filename &get_fullpath()
const;
40 INLINE
void set_fullpath(
const Filename &fullpath);
58 static void init_type() {
61 EggNode::get_class_type());
64 return get_class_type();
66 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
const Filename & get_filename() const
Returns a nonmodifiable reference to the filename.
This is an egg node that contains a filename.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
The name of a file, such as a texture file or an Egg file.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
std::string get_basename() const
Returns the basename part of the filename.
A base class for things that may be directly added into the egg hierarchy.
TypeHandle is the identifier used to differentiate C++ class types.