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

◆ eBondOrder

Enumerator
eSingle 
ePartialDouble 
eAromatic 
eDouble 
eTriple 
eOther 
eUnknown 
eVirtual 
eRealDisulfide 
eVirtualDisulfide 

Definition at line 52 of file bond.hpp.

Constructor & Destructor Documentation

◆ Bond()

Bond::Bond ( StructureBase parent)

Definition at line 60 of file bond.cpp.

Member Function Documentation

◆ Draw()

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

Member Data Documentation

◆ atom1

AtomPntr Bond::atom1

Definition at line 68 of file bond.hpp.

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

◆ atom2

AtomPntr Bond::atom2

Definition at line 68 of file bond.hpp.

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

◆ nextVirtual

const Bond * Bond::nextVirtual

Definition at line 70 of file bond.hpp.

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

◆ order

eBondOrder Bond::order

◆ previousVirtual

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 Tue Apr 23 07:38:33 2024 by modify_doxy.py rev. 669887