Open Babel  3.0
Public Types | Public Member Functions | Static Public Member Functions | Static Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
OBPlugin Class Referenceabstract

#include <openbabel/plugin.h>

Inheritance diagram for OBPlugin:
OBChargeModel OBDescriptor OBFingerprint OBForceField OBFormat OBOp OBGroupContrib OBMoleculeFormat XMLBaseFormat OpTransform XMLMoleculeFormat

Public Types

typedef std::map< const char *, OBPlugin *, CharPtrLessPluginMapType
 
typedef PluginMapType::const_iterator PluginIterator
 

Public Member Functions

virtual ~OBPlugin ()
 
virtual const char * Description ()
 
virtual const char * TypeID ()
 
virtual bool Display (std::string &txt, const char *param, const char *ID=NULL)
 
virtual OBPluginMakeInstance (const std::vector< std::string > &)
 
virtual void Init ()
 
const char * GetID () const
 
virtual PluginMapTypeGetMap () const =0
 

Static Public Member Functions

static OBPluginGetPlugin (const char *Type, const char *ID)
 
static bool ListAsVector (const char *PluginID, const char *param, std::vector< std::string > &vlist)
 
static void List (const char *PluginID, const char *param=NULL, std::ostream *os=&std::cout)
 
static std::string ListAsString (const char *PluginID, const char *param=NULL)
 
static std::string FirstLine (const char *txt)
 
static PluginIterator Begin (const char *PluginID)
 
static PluginIterator End (const char *PluginID)
 
static void LoadAllPlugins ()
 

Static Protected Member Functions

static PluginMapTypePluginMap ()
 
static PluginMapTypeGetTypeMap (const char *PluginID)
 
static OBPluginBaseFindType (PluginMapType &Map, const char *ID)
 

Protected Attributes

const char * _id
 

Static Protected Attributes

static int AllPluginsLoaded = 0
 

Detailed Description

Base class for all types of dynamic classes discovered at runtime.

Since
version 2.2
See also
plugin.h

The documentation for this class was generated from the following files: