OBPlugin Class Reference

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

#include <openbabel/plugin.h>

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

List of all members.

Public Types

typedef std::map< const char
*, OBPlugin *, CharPtrLess

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 Protected Member Functions

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

Protected Attributes

const char * _id

Detailed Description

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

version 2.2
See also:

Member Typedef Documentation

typedef std::map<const char*, OBPlugin*, CharPtrLess> PluginMapType

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines