This defines the Loader interface to files whose converters are defined within the Pandatool package and inherit from SomethingToEggConverter, like FltToEggConverter and LwoToEggConverter.
More...
#include "loaderFileTypePandatool.h"
List of all members.
Public Member Functions |
|
| LoaderFileTypePandatool (SomethingToEggConverter *loader, EggToSomethingConverter *saver=NULL) |
|
virtual TypeHandle | force_init_type () |
| virtual string | get_additional_extensions () const |
| | Returns a space-separated list of extension, in addition to the one returned by get_extension(), that are recognized by this converter.
|
|
virtual string | get_extension () const |
|
virtual string | get_name () const |
|
virtual TypeHandle | get_type () const |
|
virtual | PT (PandaNode) load_file(const Filename &path |
| virtual void | resolve_filename (Filename &path) const |
| | Searches for the indicated filename on whatever paths are appropriate to this file type, and updates it if it is found.
|
|
virtual bool | save_file (const Filename &path, const LoaderOptions &options, PandaNode *node) const |
| virtual bool | supports_compressed () const |
| | Returns true if this file type can transparently load compressed files (with a .pz extension), false otherwise.
|
| virtual bool | supports_load () const |
| | Returns true if the file type can be used to load files, and load_file() is supported.
|
| virtual bool | supports_save () const |
| | Returns true if the file type can be used to save files, and save_file() is supported.
|
Static Public Member Functions |
|
static TypeHandle | get_class_type () |
| static void | init_type () |
| | This function is declared non-inline to work around a compiler bug in g++ 2.96.
|
Public Attributes |
virtual const LoaderOptions
BamCacheRecord *record | const |
|
virtual const LoaderOptions & | options |
Detailed Description
This defines the Loader interface to files whose converters are defined within the Pandatool package and inherit from SomethingToEggConverter, like FltToEggConverter and LwoToEggConverter.
Definition at line 32 of file loaderFileTypePandatool.h.
Member Function Documentation
Searches for the indicated filename on whatever paths are appropriate to this file type, and updates it if it is found.
Definition at line 140 of file loaderFileTypePandatool.cxx.
Returns true if the file type can be used to load files, and load_file() is supported.
Returns false if load_file() is unimplemented and will always fail.
Reimplemented from LoaderFileType.
Definition at line 116 of file loaderFileTypePandatool.cxx.
Returns true if the file type can be used to save files, and save_file() is supported.
Returns false if save_file() is unimplemented and will always fail.
Reimplemented from LoaderFileType.
Definition at line 128 of file loaderFileTypePandatool.cxx.
The documentation for this class was generated from the following files: