#include <openbabel/bondtyper.cpp>
Assigns bond types for file formats without bond information.
The OBBondTyper class is designed to read in a list of bond typing rules and apply them to molecules. It is called from the OBMol::PerceiveBondOrders() method.
◆ OBBondTyper()
◆ ~OBBondTyper()
◆ ParseLine()
void ParseLine |
( |
const char * |
| ) |
|
|
virtual |
Specified by particular table classes (parses an individual data line)
Reimplemented from OBGlobalDataBase.
◆ GetSize()
- Returns
- the size of the database (for error checking)
Reimplemented from OBGlobalDataBase.
◆ AssignFunctionalGroupBonds()
void AssignFunctionalGroupBonds |
( |
OBMol & |
mol | ) |
|
Assign bonds to functional groups based on the bond typer database.
◆ Init()
◆ SetReadDirectory()
void SetReadDirectory |
( |
char * |
dir | ) |
|
|
inlineinherited |
Set the directory before calling Init()
◆ SetEnvironmentVariable()
void SetEnvironmentVariable |
( |
char * |
var | ) |
|
|
inlineinherited |
Set the environment variable to use before calling Init()
◆ _init
Whether the data been read already.
◆ _dataptr
Default data table if file is unreadable.
◆ _filename
◆ _dir
Data directory for file if _envvar fails.
◆ _subdir
Subdirectory (if using environment variable)
◆ _envvar
Environment variable to check first.
The documentation for this class was generated from the following files: