Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

LoaderFileTypePandatool Class Reference

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>

Inheritance diagram for LoaderFileTypePandatool:

LoaderFileType TypedObject List of all members.

Public Member Functions

 LoaderFileTypePandatool (SomethingToEggConverter *converter)
virtual ~LoaderFileTypePandatool ()
virtual string get_name () const
virtual string get_extension () const
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 PT (PandaNode) load_file(const Filename &path
virtual TypeHandle get_type () const
virtual TypeHandle force_init_type ()
virtual PointerTo< PandaNodeload_file (const Filename &path, bool report_errors) const
int get_type_index () const
bool is_of_type (TypeHandle handle) const
bool is_exact_type (TypeHandle handle) const

Static Public Member Functions

TypeHandle get_class_type ()
void init_type ()

Public Attributes

virtual bool report_errors const

Private Attributes

SomethingToEggConverter_converter

Static Private Attributes

TypeHandle _type_handle

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 44 of file loaderFileTypePandatool.h.


Constructor & Destructor Documentation

LoaderFileTypePandatool::LoaderFileTypePandatool SomethingToEggConverter converter  ) 
 

Definition at line 39 of file loaderFileTypePandatool.cxx.

LoaderFileTypePandatool::~LoaderFileTypePandatool  )  [virtual]
 

Definition at line 53 of file loaderFileTypePandatool.cxx.

References _converter, and SomethingToEggConverter::get_name().


Member Function Documentation

virtual TypeHandle LoaderFileTypePandatool::force_init_type void   )  [inline, virtual]
 

Reimplemented from LoaderFileType.

Definition at line 70 of file loaderFileTypePandatool.h.

TypeHandle LoaderFileTypePandatool::get_class_type void   )  [inline, static]
 

Reimplemented from LoaderFileType.

Definition at line 59 of file loaderFileTypePandatool.h.

string LoaderFileTypePandatool::get_extension  )  const [virtual]
 

Implements LoaderFileType.

Definition at line 76 of file loaderFileTypePandatool.cxx.

References get_model_path(), and path.

string LoaderFileTypePandatool::get_name  )  const [virtual]
 

Implements LoaderFileType.

Definition at line 64 of file loaderFileTypePandatool.cxx.

References _converter, and SomethingToEggConverter::get_extension().

virtual TypeHandle LoaderFileTypePandatool::get_type void   )  const [inline, virtual]
 

Reimplemented from LoaderFileType.

Definition at line 67 of file loaderFileTypePandatool.h.

void LoaderFileTypePandatool::init_type void   )  [inline, static]
 

Reimplemented from LoaderFileType.

Definition at line 62 of file loaderFileTypePandatool.h.

Referenced by ConfigureFn().

virtual LoaderFileTypePandatool::PT PandaNode   )  const [virtual]
 

void LoaderFileTypePandatool::resolve_filename Filename path  )  const [virtual]
 

Searches for the indicated filename on whatever paths are appropriate to this file type, and updates it if it is found.

Definition at line 93 of file loaderFileTypePandatool.cxx.

References _converter, CS_default, load_egg_data(), path, and EggData::set_coordinate_system().


Member Data Documentation

SomethingToEggConverter* LoaderFileTypePandatool::_converter [private]
 

Definition at line 56 of file loaderFileTypePandatool.h.

Referenced by get_name(), resolve_filename(), and ~LoaderFileTypePandatool().

TypeHandle LoaderFileTypePandatool::_type_handle [static, private]
 

Reimplemented from LoaderFileType.

Definition at line 29 of file loaderFileTypePandatool.cxx.

virtual bool report_errors LoaderFileTypePandatool::const
 

Definition at line 53 of file loaderFileTypePandatool.h.


The documentation for this class was generated from the following files:
Generated on Fri May 2 03:27:25 2003 for Panda-Tool by doxygen1.3