bond.h File Reference

Handle bonds. More...

#include <openbabel/babelconfig.h>
#include <openbabel/base.h>
#include <openbabel/atom.h>

Include dependency graph for bond.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  OpenBabel

Classes

class  OBBond
 Bond class. More...

Defines

#define OB_AROMATIC_BOND   (1<<1)
#define OB_WEDGE_BOND   (1<<2)
#define OB_HASH_BOND   (1<<3)
#define OB_RING_BOND   (1<<4)
#define OB_TORUP_BOND   (1<<5)
#define OB_TORDOWN_BOND   (1<<6)
#define OB_KSINGLE_BOND   (1<<7)
#define OB_KDOUBLE_BOND   (1<<8)
#define OB_KTRIPLE_BOND   (1<<9)
#define OB_CLOSURE_BOND   (1<<10)

Typedefs

typedef OBBond OBEdgeBase
typedef std::vector< OBBond
* >::iterator 
OBBondIterator


Detailed Description

Handle bonds.


Define Documentation

#define OB_AROMATIC_BOND   (1<<1)

An aromatic bond (regardless of bond order).

#define OB_WEDGE_BOND   (1<<2)

A solid black wedge in 2D representations -- i.e., "up" from the 2D plane.

#define OB_HASH_BOND   (1<<3)

A dashed "hash" bond in 2D representations -- i.e., "down" from the 2D plane.

#define OB_RING_BOND   (1<<4)

A bond in a ring.

#define OB_TORUP_BOND   (1<<5)

The "upper" bond in a double bond cis/trans isomer (i.e., "/" in SMILES).

#define OB_TORDOWN_BOND   (1<<6)

The "down" bond in a double bond cis/trans isomer (i.e., "\" in SMILES).

#define OB_KSINGLE_BOND   (1<<7)

A Kekule single bond.

#define OB_KDOUBLE_BOND   (1<<8)

A Kekule double bond.

#define OB_KTRIPLE_BOND   (1<<9)

A Kekule triple bond.

#define OB_CLOSURE_BOND   (1<<10)

A bond which "closes" a ring when walking the molecular graph.