One residue in a protein or nucleic acid, or a single molecule in the case of non-polymer structures. More...
#include <Pdb.h>
Public Member Functions | |
PdbResidue (String name, PdbResidueId id) | |
PdbResidue (const class Compound &compound, int residueNumber, const Transform &transform=Transform()) | |
PdbResidue (const State &state, const class Compound &compound, int residueNumber, const Transform &transform=Transform()) | |
std::ostream & | write (std::ostream &os, int &nextAtomSerialNumber, char chainId, const Transform &transform) const |
bool | hasAtom (SimTK::String argName) const |
const PdbAtom & | getAtom (String argName) const |
PdbAtom & | updAtom (String argName) |
const PdbResidueId & | getResidueId () const |
const char * | getName () const |
int | getPdbResidueNumber () const |
char | getInsertionCode () const |
size_t | getNumAtoms () const |
const PdbAtom & | getAtom (Pdb::AtomIndex atomIx) const |
void | addAtom (const PdbAtom &atom) |
Protected Member Functions | |
void | parsePdbLine (const String &line) |
Friends | |
class | PdbChain |
One residue in a protein or nucleic acid, or a single molecule in the case of non-polymer structures.
PdbResidue | ( | String | name, | |
PdbResidueId | id | |||
) | [explicit] |
PdbResidue | ( | const class Compound & | compound, | |
int | residueNumber, | |||
const Transform & | transform = Transform() | |||
) | [explicit] |
PdbResidue | ( | const State & | state, | |
const class Compound & | compound, | |||
int | residueNumber, | |||
const Transform & | transform = Transform() | |||
) | [explicit] |
void addAtom | ( | const PdbAtom & | atom | ) |
const PdbAtom& getAtom | ( | Pdb::AtomIndex | atomIx | ) | const [inline] |
char getInsertionCode | ( | ) | const [inline] |
const char* getName | ( | ) | const [inline] |
size_t getNumAtoms | ( | ) | const [inline] |
int getPdbResidueNumber | ( | ) | const [inline] |
const PdbResidueId& getResidueId | ( | ) | const [inline] |
Referenced by PdbChain::appendResidue().
bool hasAtom | ( | SimTK::String | argName | ) | const |
void parsePdbLine | ( | const String & | line | ) | [protected] |
std::ostream& write | ( | std::ostream & | os, | |
int & | nextAtomSerialNumber, | |||
char | chainId, | |||
const Transform & | transform | |||
) | const |
friend class PdbChain [friend] |