libSBML C++ API  libSBML 5.8.0 C++ API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SBasePluginCreatorBase Class Referenceabstract
Inheritance diagram for SBasePluginCreatorBase:
[legend]

Public Types

typedef std::vector< std::string > SupportedPackageURIList
 
typedef std::vector
< std::string >::iterator 
SupportedPackageURIListIter
 

Public Member Functions

virtual SBasePluginCreatorBaseclone () const =0
 clone More...
 
virtual SBasePlugincreatePlugin (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 SBaseExtensionPointgetTargetExtensionPoint () 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...
 

Member Typedef Documentation

typedef std::vector<std::string> SBasePluginCreatorBase::SupportedPackageURIList
typedef std::vector<std::string>::iterator SBasePluginCreatorBase::SupportedPackageURIListIter

Constructor & Destructor Documentation

virtual SBasePluginCreatorBase::~SBasePluginCreatorBase ( )
virtual

Destructor.

SBasePluginCreatorBase::SBasePluginCreatorBase ( const SBaseExtensionPoint extPoint,
const std::vector< std::string > &   
)
protected

Constructor.

SBasePluginCreatorBase::SBasePluginCreatorBase ( const SBasePluginCreatorBase )
protected

Copy Constructor.

Member Function Documentation

virtual SBasePluginCreatorBase* SBasePluginCreatorBase::clone ( ) const
pure virtual
virtual SBasePlugin* SBasePluginCreatorBase::createPlugin ( const std::string &  uri,
const std::string &  prefix,
const XMLNamespaces xmlns 
) const
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.