libSBML C++ API  5.8.0
 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.
virtual SBasePluginType * createPlugin (const std::string &uri, const std::string &prefix, const XMLNamespaces *xmlns) const
 Creats a SBasePlugin with the given uri and prefix.
unsigned int getNumOfSupportedPackageURI () const
 Returns the number of supported packages by this creator object.
std::string getSupportedPackageURI (unsigned int) const
 Returns the supported package to the given index.
const SBaseExtensionPointgetTargetExtensionPoint () const
 Returns an SBaseExtensionPoint tied to this creator object.
const std::string & getTargetPackageName () const
 Returns the target package name of this creator object.
int getTargetSBMLTypeCode () const
 Returns an SBMLTypeCode tied to this creator object.
bool isSupported (const std::string &uri) const
 Returns true if a package with the given namespace is supported.
 SBasePluginCreator (const SBaseExtensionPoint &extPoint, const std::vector< std::string > &packageURIs)
 SBasePluginCreator (const SBasePluginCreator &orig)
 Copy constructor.
virtual ~SBasePluginCreator ()
 Destroy this object.

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.