Open Babel
3.0
|
#include <openbabel/typer.h>
Public Member Functions | |
OBRingTyper () | |
~OBRingTyper () | |
void | ParseLine (const char *) |
size_t | GetSize () |
void | AssignTypes (OBMol &) |
void | Init () |
void | SetReadDirectory (char *dir) |
void | SetEnvironmentVariable (char *var) |
Protected Attributes | |
bool | _init |
const char * | _dataptr |
std::string | _filename |
std::string | _dir |
std::string | _subdir |
std::string | _envvar |
Assigns ring types.
The OBRingTyper class is designed to read in a list of ring typing rules and apply them to molecules. The code that performs ring typing is not usually used directly as ring typing is done automatically when the ring type is requested of rings:
OBRingTyper | ( | ) |
~OBRingTyper | ( | ) |
|
virtual |
Specified by particular table classes (parses an individual data line)
Reimplemented from OBGlobalDataBase.
|
inlinevirtual |
Reimplemented from OBGlobalDataBase.
void AssignTypes | ( | OBMol & | mol | ) |
Assign external atomic types (ringtyp.txt)
Referenced by OBRing::GetType().
|
inherited |
Read in the data file, falling back as needed.
Referenced by OBRotorList::Init().
|
inlineinherited |
Set the directory before calling Init()
|
inlineinherited |
Set the environment variable to use before calling Init()
|
protectedinherited |
Whether the data been read already.
|
protectedinherited |
Default data table if file is unreadable.
|
protectedinherited |
File to search for.
|
protectedinherited |
Data directory for file if _envvar fails.
|
protectedinherited |
Subdirectory (if using environment variable)
|
protectedinherited |
Environment variable to check first.