14 #ifndef FILEREFERENCE_H 15 #define FILEREFERENCE_H 29 INLINE
const Filename &get_filename()
const;
38 static void init_type() {
39 TypedReferenceCount::init_type();
41 TypedReferenceCount::get_class_type());
44 return get_class_type();
46 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
Keeps a reference-counted pointer to a file on disk.
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(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A base class for things which need to inherit from both TypedObject and from ReferenceCount.
The name of a file, such as a texture file or an Egg file.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
TypeHandle is the identifier used to differentiate C++ class types.