WoW Model Viewer
Your premiere tool for viewing, equipping and animating World of Warcraft models.
Loading...
Searching...
No Matches
ImporterPlugin Class Referenceabstract

Abstract base class for URL-based import plugins (Armory, Wowhead, etc.). More...

#include <ImporterPlugin.h>

Inheritance diagram for ImporterPlugin:
[legend]

Public Member Functions

 ImporterPlugin ()=default
 
virtual ~ImporterPlugin ()=default
 
virtual bool acceptURL (const std::string &url) const =0
 
virtual NPCInfosimportNPC (const std::string &url) const =0
 
virtual ItemRecordimportItem (const std::string &url) const =0
 
virtual CharInfosimportChar (const std::string &url) const =0
 

Detailed Description

Abstract base class for URL-based import plugins (Armory, Wowhead, etc.).

Subclasses detect whether they can handle a given URL and import character, NPC, or item data from it.

Definition at line 13 of file ImporterPlugin.h.

Constructor & Destructor Documentation

◆ ImporterPlugin()

ImporterPlugin::ImporterPlugin ( )
default

◆ ~ImporterPlugin()

virtual ImporterPlugin::~ImporterPlugin ( )
virtualdefault

Member Function Documentation

◆ acceptURL()

virtual bool ImporterPlugin::acceptURL ( const std::string &  url) const
pure virtual

Implemented in WowheadImporter, and ArmoryImporter.

◆ importChar()

virtual CharInfos * ImporterPlugin::importChar ( const std::string &  url) const
pure virtual

Implemented in WowheadImporter, and ArmoryImporter.

Here is the caller graph for this function:

◆ importItem()

virtual ItemRecord * ImporterPlugin::importItem ( const std::string &  url) const
pure virtual

Implemented in WowheadImporter, and ArmoryImporter.

Here is the caller graph for this function:

◆ importNPC()

virtual NPCInfos * ImporterPlugin::importNPC ( const std::string &  url) const
pure virtual

Implemented in WowheadImporter, and ArmoryImporter.

Here is the caller graph for this function:

The documentation for this class was generated from the following file: