NAMD
|
#include <PDBData.h>
Public Types | |
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 | |
PDBData (PDBType newtype) | |
virtual | ~PDBData (void) |
PDBType | type (void) |
virtual void | sprint (char *s, PDBFormatStyle usestyle=COLUMNS) |
Static Public Attributes | |
static const char * | PDBNames [UNKNOWN+1] |
Static Protected Member Functions | |
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) |
Copyright (c) 1995, 1996, 1997, 1998, 1999, 2000 by The Board of Trustees of the University of Illinois. All rights reserved.
Enumerator | |
---|---|
COLUMNS | |
FIELDS |
Definition at line 48 of file PDBData.h.
enum PDBData::PDBType |
Definition at line 42 of file PDBData.h.
|
inline |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
inlinevirtual |
Reimplemented in PDBAtom, and PDBUnknown.
Definition at line 99 of file PDBData.h.
References COLUMNS.
|
staticprotected |
Definition at line 183 of file PDBData.C.
Referenced by sprintcol().
|
staticprotected |
*** provide a simple way to print to a specific column
Definition at line 169 of file PDBData.C.
References sprintcol().
Definition at line 176 of file PDBData.C.
References sprintcol().
|
static |
Definition at line 52 of file PDBData.h.
Referenced by new_PDBData().