libSBML Perl API
libSBML 5.10.0 Perl API
|
{core} Base class of SBasePluginCreator.
Public Types | |
typedef std::vector< std::string > | SupportedPackageURIList |
typedef std::vector < std::string >::iterator | SupportedPackageURIListIter |
Public Member Functions | |
virtual SBasePluginCreatorBase * | clone () const =0 |
Creates and returns a deep copy of this SBasePluginCreatorBase. More... | |
virtual SBasePlugin * | createPlugin (const std::string &uri, const std::string &prefix, const XMLNamespaces *xmlns) const =0 |
Creates an SBasePlugin with the given uri and the prefix of the target package extension. More... | |
unsigned int | getNumOfSupportedPackageURI () const |
Returns the number of supported packages by this creator object. More... | |
std::string | getSupportedPackageURI (unsigned int) const |
Returns the supported package to the given index. More... | |
const SBaseExtensionPoint & | getTargetExtensionPoint () const |
Returns an SBaseExtensionPoint tied to this creator object. More... | |
const std::string & | getTargetPackageName () const |
Returns the target package name of this creator object. More... | |
int | getTargetSBMLTypeCode () const |
Returns an SBMLTypeCode tied to this creator object. More... | |
bool | isSupported (const std::string &uri) const |
Returns true if a package with the given namespace is supported. More... | |
virtual | ~SBasePluginCreatorBase () |
Destructor. More... | |
Protected Member Functions | |
SBasePluginCreatorBase (const SBaseExtensionPoint &extPoint, const std::vector< std::string > &) | |
Constructor. More... | |
SBasePluginCreatorBase (const SBasePluginCreatorBase &) | |
Copy Constructor. More... | |
typedef std::vector<std::string> SBasePluginCreatorBase::SupportedPackageURIList |
typedef std::vector<std::string>::iterator SBasePluginCreatorBase::SupportedPackageURIListIter |
|
virtual |
Destructor.
|
protected |
Constructor.
|
protected |
Copy Constructor.
|
pure virtual |
Creates and returns a deep copy of this SBasePluginCreatorBase.
Must be overridden by child classes.
Implemented in SBasePluginCreator< SBasePluginType, SBMLExtensionType >.
|
pure virtual |
Creates an SBasePlugin with the given uri and the prefix of the target package extension.
Implemented in SBasePluginCreator< SBasePluginType, SBMLExtensionType >.
unsigned int SBasePluginCreatorBase::getNumOfSupportedPackageURI | ( | ) | const |
Returns the number of supported packages by this creator object.
std::string SBasePluginCreatorBase::getSupportedPackageURI | ( | unsigned | int | ) | const |
Returns the supported package to the given index.
const SBaseExtensionPoint& SBasePluginCreatorBase::getTargetExtensionPoint | ( | ) | const |
Returns an SBaseExtensionPoint tied to this creator object.
const std::string& SBasePluginCreatorBase::getTargetPackageName | ( | ) | const |
Returns the target package name of this creator object.
int SBasePluginCreatorBase::getTargetSBMLTypeCode | ( | ) | const |
Returns an SBMLTypeCode tied to this creator object.
bool SBasePluginCreatorBase::isSupported | ( | const std::string & | uri | ) | const |
Returns true if a package with the given namespace is supported.