NCBI C++ ToolKit
Public Types | Public Member Functions | Public Attributes | List of all members
Bond Class Reference

Search Toolkit Book for Bond

#include "bond.hpp"
(Private to src/app/cn3d.)

+ Inheritance diagram for Bond:
+ Collaboration diagram for Bond:

Public Types

enum  eBondOrder {
  eSingle = ncbi::objects::CInter_residue_bond::eBond_order_single, ePartialDouble = ncbi::objects::CInter_residue_bond::eBond_order_partial_double, eAromatic = ncbi::objects::CInter_residue_bond::eBond_order_aromatic, eDouble = ncbi::objects::CInter_residue_bond::eBond_order_double,
  eTriple = ncbi::objects::CInter_residue_bond::eBond_order_triple, eOther = ncbi::objects::CInter_residue_bond::eBond_order_other, eUnknown = ncbi::objects::CInter_residue_bond::eBond_order_unknown, eVirtual,
  eRealDisulfide, eVirtualDisulfide
}
 

Public Member Functions

 Bond (StructureBase *parent)
 
bool Draw (const AtomSet *data) const
 
- Public Member Functions inherited from StructureBase
 StructureBase (StructureBase *parent)
 
virtual ~StructureBase (void)
 
virtual bool DrawAll (const AtomSet *atomSet=NULL) const
 
template<class T >
bool GetParentOfType (const T **ptr, bool warnIfNotFound=true) const
 

Public Attributes

AtomPntr atom1
 
AtomPntr atom2
 
eBondOrder order
 
const BondpreviousVirtual
 
const BondnextVirtual
 
- Public Attributes inherited from StructureBase
StructureSetparentSet
 

Detailed Description

Definition at line 49 of file bond.hpp.

Member Enumeration Documentation

Enumerator
eSingle 
ePartialDouble 
eAromatic 
eDouble 
eTriple 
eOther 
eUnknown 
eVirtual 
eRealDisulfide 
eVirtualDisulfide 

Definition at line 52 of file bond.hpp.

Constructor & Destructor Documentation

Bond::Bond ( StructureBase parent)

Definition at line 60 of file bond.cpp.

Member Function Documentation

bool Bond::Draw ( const AtomSet data) const
virtual

Member Data Documentation

AtomPntr Bond::atom1

Definition at line 68 of file bond.hpp.

Referenced by Draw(), StyleManager::GetBondStyle(), and MakeBond().

AtomPntr Bond::atom2

Definition at line 68 of file bond.hpp.

Referenced by Draw(), StyleManager::GetBondStyle(), and MakeBond().

const Bond * Bond::nextVirtual

Definition at line 70 of file bond.hpp.

Referenced by Draw(), and StyleManager::GetBondStyle().

eBondOrder Bond::order
const Bond* Bond::previousVirtual

Definition at line 70 of file bond.hpp.

Referenced by Draw(), StyleManager::GetBondStyle(), and Molecule::Molecule().


The documentation for this class was generated from the following files:
Modified on Thu Mar 30 17:14:19 2017 by modify_doxy.py rev. 506947