#include <loaderFileType.h>
Inheritance diagram for LoaderFileType:

Public Member Functions | |
| virtual | ~LoaderFileType () |
| virtual string | get_name () const=0 |
| virtual string | get_extension () const=0 |
| virtual PointerTo< PandaNode > | load_file (const Filename &path, bool report_errors) const |
| virtual TypeHandle | get_type () const |
| virtual TypeHandle | force_init_type () |
| int | get_type_index () const |
| Returns the internal index number associated with this object's TypeHandle, a unique number for each different type. | |
| bool | is_of_type (TypeHandle handle) const |
| Returns true if the current object is or derives from the indicated type. | |
| bool | is_exact_type (TypeHandle handle) const |
| Returns true if the current object is the indicated type exactly. | |
Static Public Member Functions | |
| TypeHandle | get_class_type () |
| void | init_type () |
| This function is declared non-inline to work around a compiler bug in g++ 2.96. | |
Protected Member Functions | |
| LoaderFileType () | |
Static Private Attributes | |
| TypeHandle | _type_handle |
Each kind of loader that's available should define a corresponding LoaderFileType object and register itself.
Definition at line 46 of file loaderFileType.h.
|
|
Definition at line 34 of file loaderFileType.cxx. |
|
|
Definition at line 45 of file loaderFileType.cxx. References get_type(), and NULL. |
|
|
Implements TypedObject. Reimplemented in LoaderFileTypeEgg, and LoaderFileTypeBam. Definition at line 70 of file loaderFileType.h. |
|
|
Reimplemented from TypedObject. Reimplemented in LoaderFileTypeEgg, and LoaderFileTypeBam. Definition at line 59 of file loaderFileType.h. |
|
|
Implemented in LoaderFileTypeEgg, and LoaderFileTypeBam. |
|
|
Implemented in LoaderFileTypeEgg, and LoaderFileTypeBam. |
|
|
Implements TypedObject. Reimplemented in LoaderFileTypeEgg, and LoaderFileTypeBam. Definition at line 67 of file loaderFileType.h. Referenced by ~LoaderFileType(). |
|
|
Returns the internal index number associated with this object's TypeHandle, a unique number for each different type. This is equivalent to get_type().get_index(). Definition at line 71 of file typedObject.I. References TypeHandle::get_name(), TypedObject::get_type(), and INLINE. |
|
|
This function is declared non-inline to work around a compiler bug in g++ 2.96. Making it inline seems to cause problems in the optimizer. Reimplemented from TypedObject. Reimplemented in LoaderFileTypeEgg, and LoaderFileTypeBam. Definition at line 62 of file loaderFileType.h. |
|
|
Returns true if the current object is the indicated type exactly.
Definition at line 101 of file typedObject.I. Referenced by PT(), and CollisionNode::xform(). |
|
|
||||||||||||
|
Reimplemented in LoaderFileTypeBam. Definition at line 56 of file loaderFileType.cxx. |
|
|
Reimplemented from TypedObject. Reimplemented in LoaderFileTypeEgg, and LoaderFileTypeBam. Definition at line 24 of file loaderFileType.cxx. |
1.3