|
NAMD
|
#include <PDBData.h>
Public Types | |
| enum | Start { STYPE =1, SSERIAL =7, SNAME =13, SALT =17, SRESNAME =18, SCHAIN =22, SRESSEQ =23, SINSERT =27, SX =31, SY =39, SZ =47, SOCC =55, STEMPF =61, SFOOT =68, SSEGNAME =73, SELEMENT =77 } |
| enum | Length { LTYPE =6, LSERIAL =5, LNAME =4, LALT =1, LRESNAME =4, LCHAIN =1, LRESSEQ =4, LINSERT =1, LCOOR =8, LCOORPREC =3, LOCC =6, LOCCPREC =2, LTEMPF =6, LTEMPFPREC =2, LFOOT =3, LSEGNAME =4, LELEMENT =2 } |
Public Types inherited from PDBData | |
| enum | PDBType { HEADER, OBSLTE, COMPND, SOURCE, EXPDTA, AUTHOR, REVDAT, SPRSDE, JRNL, REMARK, SEQRES, FTNOTE, HET, FORMUL, HELIX, SHEET, TURN, SSBOND, SITE, CRYST1, ORIGX, SCALE, MTRIX, TVECT, MODEL, ATOM, HETATM, SIGATM, ANISOU, SIGUIJ, TER, ENDMDL, CONECT, MASTER, END, UNKNOWN } |
| enum | PDBFormatStyle { COLUMNS, FIELDS } |
Public Member Functions | |
| PDBAtom (void) | |
| virtual | ~PDBAtom (void) |
| void | parse (const char *s) |
| void | sprint (char *s, PDBFormatStyle usestyle=COLUMNS) |
| int | serialnumber (void) |
| void | serialnumber (int newserialnumber) |
| const char * | name (void) |
| void | name (const char *newname) |
| const char * | alternatelocation (void) |
| void | alternatelocation (const char *newalternatelocation) |
| const char * | residuename (void) |
| void | residuename (const char *newresiduename) |
| const char * | chain (void) |
| void | chain (const char *newchain) |
| int | residueseq (void) |
| void | residueseq (int newresidueseq) |
| const char * | insertioncode (void) |
| void | insertioncode (const char *newinsertioncode) |
| BigReal | xcoor (void) |
| void | xcoor (BigReal newxcoor) |
| BigReal | ycoor (void) |
| void | ycoor (BigReal newycoor) |
| BigReal | zcoor (void) |
| void | zcoor (BigReal newzcoor) |
| const BigReal * | coordinates (void) |
| void | coordinates (const BigReal *newcoordinates) |
| BigReal | occupancy (void) |
| void | occupancy (BigReal newoccupancy) |
| BigReal | temperaturefactor (void) |
| void | temperaturefactor (BigReal newtemperaturefactor) |
| int | footnote (void) |
| void | footnote (int newfootnote) |
| const char * | segmentname (void) |
| void | segmentname (const char *newsegmentname) |
| const char * | element (void) |
| void | element (const char *newelement) |
Public Member Functions inherited from PDBData | |
| PDBData (PDBType newtype) | |
| virtual | ~PDBData (void) |
| PDBType | type (void) |
Static Public Attributes | |
| static const int | default_serial = -1 |
| static const int | default_residueseq = -1 |
| static const BigReal | default_coor = 9999.000 |
| static const BigReal | default_occupancy = 1.00 |
| static const BigReal | default_temperaturefactor = 0.00 |
| static const int | no_footnote = 0 |
Static Public Attributes inherited from PDBData | |
| static const char * | PDBNames [UNKNOWN+1] |
Protected Types | |
| enum | PDBPossibleAtoms { USE_ATOM = ATOM, USE_HETATM = HETATM } |
Protected Member Functions | |
| PDBAtom (const char *data, PDBPossibleAtoms whichatom) | |
Additional Inherited Members | |
Static Protected Member Functions inherited from PDBData | |
| static void | scan (const char *data, int len, int start, int size, int *ans, int defalt) |
| static void | scan (const char *data, int len, int start, int size, BigReal *ans, BigReal defalt) |
| static void | scan (const char *data, int len, int start, int size, char *ans) |
| static void | field (const char *data, int fld, char *result) |
| static void | sprintcol (char *s, int start, int len, const char *val) |
| static void | sprintcol (char *s, int start, int len, int val) |
| *** provide a simple way to print to a specific column More... | |
| static void | sprintcol (char *s, int start, int len, int prec, BigReal val) |
| enum PDBAtom::Length |
| Enumerator | |
|---|---|
| LTYPE | |
| LSERIAL | |
| LNAME | |
| LALT | |
| LRESNAME | |
| LCHAIN | |
| LRESSEQ | |
| LINSERT | |
| LCOOR | |
| LCOORPREC | |
| LOCC | |
| LOCCPREC | |
| LTEMPF | |
| LTEMPFPREC | |
| LFOOT | |
| LSEGNAME | |
| LELEMENT | |
Definition at line 147 of file PDBData.h.
|
protected |
| Enumerator | |
|---|---|
| USE_ATOM | |
| USE_HETATM | |
Definition at line 181 of file PDBData.h.
| enum PDBAtom::Start |
| Enumerator | |
|---|---|
| STYPE | |
| SSERIAL | |
| SNAME | |
| SALT | |
| SRESNAME | |
| SCHAIN | |
| SRESSEQ | |
| SINSERT | |
| SX | |
| SY | |
| SZ | |
| SOCC | |
| STEMPF | |
| SFOOT | |
| SSEGNAME | |
| SELEMENT | |
Definition at line 138 of file PDBData.h.
|
protected |
Definition at line 203 of file PDBData.C.
References parse().
| PDBAtom::PDBAtom | ( | void | ) |
Definition at line 210 of file PDBData.C.
References alternatelocation(), chain(), default_coor, default_occupancy, default_residueseq, default_serial, default_temperaturefactor, element(), footnote(), insertioncode(), name(), no_footnote, occupancy(), residuename(), residueseq(), segmentname(), serialnumber(), temperaturefactor(), xcoor(), ycoor(), and zcoor().
| const char * PDBAtom::alternatelocation | ( | void | ) |
Definition at line 392 of file PDBData.C.
Referenced by PDB::PDB(), and PDBAtom().
| void PDBAtom::alternatelocation | ( | const char * | newalternatelocation | ) |
| const char * PDBAtom::chain | ( | void | ) |
| void PDBAtom::chain | ( | const char * | newchain | ) |
| const BigReal * PDBAtom::coordinates | ( | void | ) |
| void PDBAtom::coordinates | ( | const BigReal * | newcoordinates | ) |
| const char * PDBAtom::element | ( | void | ) |
Definition at line 470 of file PDBData.C.
Referenced by PDBAtom(), and Molecule::prepare_qm().
| void PDBAtom::element | ( | const char * | newelement | ) |
| int PDBAtom::footnote | ( | void | ) |
| void PDBAtom::footnote | ( | int | newfootnote | ) |
| const char * PDBAtom::insertioncode | ( | void | ) |
| void PDBAtom::insertioncode | ( | const char * | newinsertioncode | ) |
| const char * PDBAtom::name | ( | void | ) |
Definition at line 386 of file PDBData.C.
Referenced by PDB::PDB(), and PDBAtom().
| void PDBAtom::name | ( | const char * | newname | ) |
| BigReal PDBAtom::occupancy | ( | void | ) |
Definition at line 444 of file PDBData.C.
Referenced by PDB::PDB(), PDBAtom(), and Molecule::prepare_qm().
| void PDBAtom::occupancy | ( | BigReal | newoccupancy | ) |
| void PDBAtom::parse | ( | const char * | s | ) |
| const char * PDBAtom::residuename | ( | void | ) |
Definition at line 399 of file PDBData.C.
Referenced by PDB::PDB(), PDBAtom(), and Molecule::prepare_qm().
| void PDBAtom::residuename | ( | const char * | newresiduename | ) |
| int PDBAtom::residueseq | ( | void | ) |
Definition at line 411 of file PDBData.C.
Referenced by Molecule::build_go_arrays(), PDB::PDB(), PDBAtom(), and Molecule::prepare_qm().
| void PDBAtom::residueseq | ( | int | newresidueseq | ) |
| const char * PDBAtom::segmentname | ( | void | ) |
Definition at line 464 of file PDBData.C.
Referenced by PDBAtom(), and Molecule::prepare_qm().
| void PDBAtom::segmentname | ( | const char * | newsegmentname | ) |
| int PDBAtom::serialnumber | ( | void | ) |
Definition at line 380 of file PDBData.C.
Referenced by PDB::PDB(), and PDBAtom().
| void PDBAtom::serialnumber | ( | int | newserialnumber | ) |
|
virtual |
Reimplemented from PDBData.
Definition at line 615 of file PDBData.C.
References PDBData::COLUMNS.
Referenced by PDB::write().
| BigReal PDBAtom::temperaturefactor | ( | void | ) |
Definition at line 450 of file PDBData.C.
Referenced by PDB::PDB(), PDBAtom(), and Molecule::prepare_qm().
| void PDBAtom::temperaturefactor | ( | BigReal | newtemperaturefactor | ) |
| BigReal PDBAtom::xcoor | ( | void | ) |
Definition at line 425 of file PDBData.C.
Referenced by Molecule::build_go_arrays(), PDB::find_extremes(), PDBAtom(), and PDB::set_all_positions().
| void PDBAtom::xcoor | ( | BigReal | newxcoor | ) |
| BigReal PDBAtom::ycoor | ( | void | ) |
Definition at line 429 of file PDBData.C.
Referenced by Molecule::build_go_arrays(), PDB::find_extremes(), and PDBAtom().
| void PDBAtom::ycoor | ( | BigReal | newycoor | ) |
| BigReal PDBAtom::zcoor | ( | void | ) |
Definition at line 433 of file PDBData.C.
Referenced by Molecule::build_go_arrays(), PDB::find_extremes(), and PDBAtom().
| void PDBAtom::zcoor | ( | BigReal | newzcoor | ) |
|
static |
|
static |
Definition at line 156 of file PDBData.h.
Referenced by PDB::PDB(), and PDBAtom().
|
static |
|
static |
|
static |
Definition at line 157 of file PDBData.h.
Referenced by PDB::PDB(), and PDBAtom().
|
static |
1.8.14