SBasePluginCreator< SBasePluginType, SBMLExtensionType > Class Template Reference
Inheritance diagram for SBasePluginCreator< SBasePluginType, SBMLExtensionType >:

List of all members.

template<class SBasePluginType, class SBMLExtensionType>
class SBasePluginCreator< SBasePluginType, SBMLExtensionType >

Public Types

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

Public Member Functions

virtual SBasePluginCreator * clone () 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 SBaseExtensionPoint & getTargetExtensionPoint () 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 ( ) [inline, virtual]

Destroy this object.


Member Function Documentation

template<class SBasePluginType , class SBMLExtensionType >
virtual SBasePluginCreator* SBasePluginCreator< SBasePluginType, SBMLExtensionType >::clone ( ) const [inline, virtual]

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 [inline, virtual]

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.

Returns an SBaseExtensionPoint tied to this creator object.

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

Returns the target package name of this creator object.

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.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines