libSBML Perl API  libSBML 5.8.0 Perl API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SBasePluginCreator< SBasePluginType, SBMLExtensionType > Class Template Reference
Inheritance diagram for SBasePluginCreator< SBasePluginType, SBMLExtensionType >:
[legend]

Public Types

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

Public Member Functions

virtual SBasePluginCreatorclone () const
 Creates and returns a deep copy of this SBasePluginCreator object. More...
 
virtual SBasePluginType * createPlugin (const std::string &uri, const std::string &prefix, const XMLNamespaces *xmlns) const
 Creats a SBasePlugin with the given uri and prefix. 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...
 
 SBasePluginCreator (const SBaseExtensionPoint &extPoint, const std::vector< std::string > &packageURIs)
 
 SBasePluginCreator (const SBasePluginCreator &orig)
 Copy constructor. More...
 
virtual ~SBasePluginCreator ()
 Destroy this object. More...
 

Member Typedef Documentation

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

Constructor & Destructor Documentation

template<class SBasePluginType , class SBMLExtensionType >
SBasePluginCreator< SBasePluginType, SBMLExtensionType >::SBasePluginCreator ( const SBaseExtensionPoint extPoint,
const std::vector< std::string > &  packageURIs 
)
inline
template<class SBasePluginType , class SBMLExtensionType >
SBasePluginCreator< SBasePluginType, SBMLExtensionType >::SBasePluginCreator ( const SBasePluginCreator< SBasePluginType, SBMLExtensionType > &  orig)
inline

Copy constructor.

template<class SBasePluginType , class SBMLExtensionType >
virtual SBasePluginCreator< SBasePluginType, SBMLExtensionType >::~SBasePluginCreator ( )
inlinevirtual

Destroy this object.

Member Function Documentation

template<class SBasePluginType , class SBMLExtensionType >
virtual SBasePluginCreator* SBasePluginCreator< SBasePluginType, SBMLExtensionType >::clone ( ) const
inlinevirtual

Creates and returns a deep copy of this SBasePluginCreator object.

Returns
a (deep) copy of this SBase object

Implements SBasePluginCreatorBase.

template<class SBasePluginType , class SBMLExtensionType >
virtual SBasePluginType* SBasePluginCreator< SBasePluginType, SBMLExtensionType >::createPlugin ( const std::string &  uri,
const std::string &  prefix,
const XMLNamespaces xmlns 
) const
inlinevirtual

Creats a SBasePlugin with the given uri and prefix.

Implements SBasePluginCreatorBase.

unsigned int SBasePluginCreatorBase::getNumOfSupportedPackageURI ( ) const
inherited

Returns the number of supported packages by this creator object.

std::string SBasePluginCreatorBase::getSupportedPackageURI ( unsigned  int) const
inherited

Returns the supported package to the given index.

const SBaseExtensionPoint& SBasePluginCreatorBase::getTargetExtensionPoint ( ) const
inherited

Returns an SBaseExtensionPoint tied to this creator object.

const std::string& SBasePluginCreatorBase::getTargetPackageName ( ) const
inherited

Returns the target package name of this creator object.

int SBasePluginCreatorBase::getTargetSBMLTypeCode ( ) const
inherited

Returns an SBMLTypeCode tied to this creator object.

bool SBasePluginCreatorBase::isSupported ( const std::string &  uri) const
inherited

Returns true if a package with the given namespace is supported.