PdbModel Class Reference

#include <Pdb.h>

List of all members.


Detailed Description

PDB structure containing one or more molecules (chains), corresponding to one member of an NMR ensemble of alternate structures, or to one frame of a molecular dynamics simulation.


Public Member Functions

 PdbModel (const Compound &compound, int number=1, const Transform &transform=Transform())
 PdbModel (const State &state, const Compound &compound, int number=1, const Transform &transform=Transform())
 PdbModel (int number)
std::ostream & write (std::ostream &os, const Transform &transform) const
bool hasChain (char id) const
bool hasAtom (String atomName, PdbResidueId residueId, char chainId) const
const PdbAtomgetAtom (String atomName, PdbResidueId residueId, char chainId) const
PdbAtomupdAtom (String atomName, PdbResidueId residueId, char chainId)
size_t getNChains () const
const PdbChaingetChain (Pdb::ChainIndex chainIx) const
const PdbChaingetChain (char chainId) const

Protected Member Functions

void parsePdbLine (const String &line)
PdbChainupdOrCreateChain (char chainId)

Friends

class PdbStructure


Constructor & Destructor Documentation

PdbModel ( const Compound compound,
int  number = 1,
const Transform transform = Transform() 
) [explicit]

PdbModel ( const State state,
const Compound compound,
int  number = 1,
const Transform transform = Transform() 
) [explicit]

PdbModel ( int  number  )  [inline, explicit]


Member Function Documentation

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

bool hasChain ( char  id  )  const

bool hasAtom ( String  atomName,
PdbResidueId  residueId,
char  chainId 
) const

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

PdbAtom& updAtom ( String  atomName,
PdbResidueId  residueId,
char  chainId 
)

size_t getNChains (  )  const [inline]

const PdbChain& getChain ( Pdb::ChainIndex  chainIx  )  const [inline]

const PdbChain& getChain ( char  chainId  )  const

void parsePdbLine ( const String line  )  [protected]

PdbChain& updOrCreateChain ( char  chainId  )  [protected]


Friends And Related Function Documentation

friend class PdbStructure [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