#include <Pdb.h>
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 PdbAtom & | getAtom (String atomName, PdbResidueId residueId, char chainId) const |
PdbAtom & | updAtom (String atomName, PdbResidueId residueId, char chainId) |
size_t | getNChains () const |
const PdbChain & | getChain (Pdb::ChainIndex chainIx) const |
const PdbChain & | getChain (char chainId) const |
Protected Member Functions | |
void | parsePdbLine (const String &line) |
PdbChain & | updOrCreateChain (char chainId) |
Friends | |
class | PdbStructure |
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] |
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] |
Referenced by Protein::loadFromPdbStructure(), and RNA::RNA().
const PdbChain& getChain | ( | char | chainId | ) | const |
void parsePdbLine | ( | const String & | line | ) | [protected] |
PdbChain& updOrCreateChain | ( | char | chainId | ) | [protected] |
friend class PdbStructure [friend] |