#include <openbabel/optransform.h>
Applies molecular reactions/transforms (OBChemTsfm class) read from a datafile.
- Since
- version 2.2
◆ OpMap
typedef const std::map<std::string, std::string> OpMap |
|
inherited |
◆ OpTransform()
OpTransform |
( |
const char * |
ID, |
|
|
const char * |
filename, |
|
|
const char * |
descr |
|
) |
| |
|
inline |
◆ ~OpTransform()
◆ Description()
virtual const char* Description |
( |
| ) |
|
|
virtual |
◆ WorksWith()
virtual bool WorksWith |
( |
OBBase * |
pOb | ) |
const |
|
inlinevirtual |
Checks that this op is being applied to the right kind of object(OBMol)
Implements OBOp.
◆ Do()
virtual bool Do |
( |
OBBase * |
pOb, |
|
|
const char * |
OptionText = NULL , |
|
|
OpMap * |
pOptions = NULL , |
|
|
OBConversion * |
pConv = NULL |
|
) |
| |
|
virtual |
◆ MakeInstance()
virtual OpTransform* MakeInstance |
( |
const std::vector< std::string > & |
| ) |
|
|
inlinevirtual |
Make a new instance of the class. See OpTransform, OBGroupContrib, SmartsDescriptor classes for derived versions. Usually, the first parameter is the classname, the next three are parameters(ID, filename, description) for a constructor, and the rest data.
Reimplemented from OBPlugin.
◆ TypeID()
virtual const char* TypeID |
( |
| ) |
|
|
inlinevirtualinherited |
Provides the name of this kind of plugin. Use -L "ops" to list from commandline.
Reimplemented from OBPlugin.
◆ ProcessVec()
virtual bool ProcessVec |
( |
std::vector< OBBase *> & |
| ) |
|
|
inlinevirtualinherited |
Do something with an array of objects. Used a a callback routine in OpSort, etc.
◆ OpOptions()
static std::string OpOptions |
( |
OBBase * |
pOb | ) |
|
|
inlinestaticinherited |
- Returns
- string describing options, for display with -H and to make checkboxes in GUI
◆ DoOps()
Call Do() of all the OBOps whose ID is a key in the map. Called from DoTransformations(). The map has general options like -x or –multicharoption The key is the option name and the value, if any, is text which follows the option name. In some cases, there may be several parameters, space separated)
- Returns
- false indicating object should not be output, if any Do() returns false
The documentation for this class was generated from the following file: