PdbChain Class Reference

#include <Pdb.h>

List of all members.


Detailed Description

One molecule in a PDB structure.

One exception is that all of the water molecules in a structure may share a single chainId

Public Member Functions

 PdbChain (char id= ' ')
 PdbChain (const Compound &compound, const Transform &transform=Transform())
 PdbChain (const State &state, const Compound &compound, const Transform &transform=Transform())
std::ostream & write (std::ostream &os, int &nextAtomSerialNumber, const Transform &transform=Transform()) const
bool hasResidue (PdbResidueId pdbResidueId) const
bool hasAtom (String atomName, PdbResidueId residueId) const
const PdbAtomgetAtom (String atomName, PdbResidueId residueId) const
PdbAtomupdAtom (String atomName, PdbResidueId residueId)
PdbResidueappendResidue (const PdbResidue &residue)
size_t getNResidues () const
const PdbResiduegetResidue (Pdb::ResidueIndex resIx) const
char getChainId () const

Protected Member Functions

void parsePdbLine (const String &line)

Friends

class PdbModel


Constructor & Destructor Documentation

PdbChain ( char  id = ' '  )  [inline, explicit]

PdbChain ( const Compound compound,
const Transform transform = Transform() 
) [explicit]

PdbChain ( const State state,
const Compound compound,
const Transform transform = Transform() 
) [explicit]


Member Function Documentation

std::ostream& write ( std::ostream &  os,
int &  nextAtomSerialNumber,
const Transform transform = Transform() 
) const

bool hasResidue ( PdbResidueId  pdbResidueId  )  const

bool hasAtom ( String  atomName,
PdbResidueId  residueId 
) const

const PdbAtom& getAtom ( String  atomName,
PdbResidueId  residueId 
) const

PdbAtom& updAtom ( String  atomName,
PdbResidueId  residueId 
)

PdbResidue& appendResidue ( const PdbResidue residue  )  [inline]

size_t getNResidues (  )  const [inline]

const PdbResidue& getResidue ( Pdb::ResidueIndex  resIx  )  const [inline]

char getChainId (  )  const [inline]

void parsePdbLine ( const String line  )  [protected]


Friends And Related Function Documentation

friend class PdbModel [friend]


The documentation for this class was generated from the following file:

Generated on Fri Sep 26 07:44:33 2008 for SimTKcore by  doxygen 1.5.6