14 #ifndef TEMPORARYFILE_H 15 #define TEMPORARYFILE_H 35 static void init_type() {
36 FileReference::init_type();
38 FileReference::get_class_type());
41 return get_class_type();
43 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
Keeps a reference-counted pointer to a file on disk.
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.
This is a special kind of FileReference class that automatically deletes the file in question when it...
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.