|
virtual bool | hasFormat () |
| Check whether the current file is in PDB format. More...
|
|
|
| PDBFile () |
|
| PDBFile (const String &filename, File::OpenMode open_mode=std::ios::in) |
|
| PDBFile (const Options &new_options) |
|
virtual | ~PDBFile () |
|
|
virtual void | clear (int state) |
| Clear the stream state. More...
|
|
virtual void | clear () |
| Clear all members. More...
|
|
|
virtual float | getVersion () const |
| Returns the version number this PDB file reader is able to read. More...
|
|
void | open (const String &name, File::OpenMode open_mode=std::ios::in) |
|
void | selectModel (Index index) |
|
void | selectAltLocationIndicator (char c) |
|
Index | getSelectedModel () const |
| Return the model currently selected. More...
|
|
void | selectAllModels () |
| Selects all models for reading. More...
|
|
Index | getCurrentModel () const |
| Returns the number of the model weare currently reading. (?????) More...
|
|
char * | getRecordString () |
| Return a mutable pointer to the line buffer. More...
|
|
const char * | getRecordString () const |
| Return a constant pointer to the line buffer. More...
|
|
Index | getRecordNumber () const |
| Returns the number of the record we are currently reading. More...
|
|
PDB::RecordType | getRecordType () const |
| Returns the type of the record we are currently reading. More...
|
|
virtual const char * | getAtomElementSymbol (const PDB::Atom atom_name, PDB::Atom element_symbol) |
|
virtual const char * | getAtomName (const PDB::Atom atom_name) |
| Returns the atom name. More...
|
|
virtual char | getAtomRemotenessIndicator (const PDB::Atom atom_name) |
| Extract the PDB remoteness indicator of an atom record. More...
|
|
virtual short | getAtomBranchDesignator (const PDB::Atom atom_name) |
| Extract the PDB branch designator of an atom record. More...
|
|
Size | countRecordFields () const |
| Returns the number of record fields. More...
|
|
Size | countRecord (PDB::RecordType record_type, bool from_begin_of_file=true) |
|
Size | countRecords (bool from_begin_of_file=true) |
|
|
These methods are typically required if you want to implement your own PDB parser (derived from PDBFile or PDBFile).
|
bool | parseLine (const char *line, Size size, const char *format_string,...) |
| Parse a line from a PDBFile. This is a helper function for readLine(). More...
|
|
bool | readLine (char *line, Size size, bool extract_values) |
| Read and parse a line from a PDB file. More...
|
|
bool | readFirstRecord (bool read_values=true) |
| Read the firts record of a file. More...
|
|
bool | readNextRecord (bool read_values=true) |
| Read the next record of a PDB file. More...
|
|
bool | readRecords () |
|
virtual bool | readUnknownRecord (const char *line) |
|
virtual bool | readInvalidRecord (const char *line) |
|
bool | skipCurrentRecord () |
|
virtual bool | interpretRecord (const PDB::RecordANISOU &record) |
| Reads an anisotropic temperature factor record. More...
|
|
virtual bool | fillRecord (const char *line, Size size, PDB::RecordANISOU &record) |
|
virtual bool | parseRecordANISOU (const char *line, Size size) |
|
virtual bool | interpretRecord (const PDB::RecordATOM &record) |
| Reads an atom record. More...
|
|
virtual bool | fillRecord (const char *line, Size size, PDB::RecordATOM &record) |
|
virtual bool | parseRecordATOM (const char *line, Size size) |
|
virtual bool | interpretRecord (const PDB::RecordAUTHOR &record) |
| Reads an author record. More...
|
|
virtual bool | fillRecord (const char *line, Size size, PDB::RecordAUTHOR &record) |
|
virtual bool | parseRecordAUTHOR (const char *line, Size size) |
|
virtual bool | interpretRecord (const PDB::RecordCAVEAT &record) |
| Reads a caveat record. More...
|
|
virtual bool | fillRecord (const char *line, Size size, PDB::RecordCAVEAT &record) |
|
virtual bool | parseRecordCAVEAT (const char *line, Size size) |
|
virtual bool | interpretRecord (const PDB::RecordCISPEP &record) |
| Reads a record specifying peptides in cis conformation. More...
|
|
virtual bool | fillRecord (const char *line, Size size, PDB::RecordCISPEP &record) |
|
virtual bool | parseRecordCISPEP (const char *line, Size size) |
|
virtual bool | interpretRecord (const PDB::RecordCOMPND &record) |
| Reads the title record containing macroscopic compoubd information. More...
|
|
virtual bool | fillRecord (const char *line, Size size, PDB::RecordCOMPND &record) |
|
virtual bool | parseRecordCOMPND (const char *line, Size size) |
|
virtual bool | interpretRecord (const PDB::RecordCONECT &record) |
| Reads a connection record. More...
|
|
virtual bool | fillRecord (const char *line, Size size, PDB::RecordCONECT &record) |
|
virtual bool | parseRecordCONECT (const char *line, Size size) |
|
virtual bool | interpretRecord (const PDB::RecordCRYST1 &record) |
|
virtual bool | fillRecord (const char *line, Size size, PDB::RecordCRYST1 &record) |
|
virtual bool | parseRecordCRYST1 (const char *line, Size size) |
|
virtual bool | interpretRecord (const PDB::RecordDBREF &record) |
| Reads a record containing database cross-reference links. More...
|
|
virtual bool | fillRecord (const char *line, Size size, PDB::RecordDBREF &record) |
|
virtual bool | parseRecordDBREF (const char *line, Size size) |
|
virtual bool | interpretRecord (const PDB::RecordEND &record) |
| Reads the record defining the end of a PDB file. More...
|
|
virtual bool | fillRecord (const char *line, Size size, PDB::RecordEND &record) |
|
virtual bool | parseRecordEND (const char *line, Size size) |
|
virtual bool | interpretRecord (const PDB::RecordENDMDL &record) |
| Reads a model ending record. More...
|
|
virtual bool | fillRecord (const char *line, Size size, PDB::RecordENDMDL &record) |
|
virtual bool | parseRecordENDMDL (const char *line, Size size) |
|
virtual bool | interpretRecord (const PDB::RecordEXPDTA &record) |
| Reads a record containing data about the experiment. More...
|
|
virtual bool | fillRecord (const char *line, Size size, PDB::RecordEXPDTA &record) |
|
virtual bool | parseRecordEXPDTA (const char *line, Size size) |
|
virtual bool | interpretRecord (const PDB::RecordFORMUL &record) |
|
virtual bool | fillRecord (const char *line, Size size, PDB::RecordFORMUL &record) |
|
virtual bool | parseRecordFORMUL (const char *line, Size size) |
|
virtual bool | interpretRecord (const PDB::RecordFTNOTE &record) |
| Reads a record containing a footnote. More...
|
|
virtual bool | fillRecord (const char *line, Size size, PDB::RecordFTNOTE &record) |
|
virtual bool | parseRecordFTNOTE (const char *line, Size size) |
|
virtual bool | interpretRecord (const PDB::RecordHEADER &record) |
|
virtual bool | fillRecord (const char *line, Size size, PDB::RecordHEADER &record) |
|
virtual bool | parseRecordHEADER (const char *line, Size size) |
|
virtual bool | interpretRecord (const PDB::RecordHELIX &record) |
| Reads a helix defining record. More...
|
|
virtual bool | fillRecord (const char *line, Size size, PDB::RecordHELIX &record) |
|
virtual bool | parseRecordHELIX (const char *line, Size size) |
|
virtual bool | interpretRecord (const PDB::RecordHET &record) |
| Reads a record defining a non-standard residue. More...
|
|
virtual bool | fillRecord (const char *line, Size size, PDB::RecordHET &record) |
|
virtual bool | parseRecordHET (const char *line, Size size) |
|
virtual bool | interpretRecord (const PDB::RecordHETATM &record) |
| Reads atomic coordinates for atoms in non-standard groups. More...
|
|
virtual bool | fillRecord (const char *line, Size size, PDB::RecordHETATM &record) |
|
virtual bool | parseRecordHETATM (const char *line, Size size) |
|
virtual bool | interpretRecord (const PDB::RecordHETNAM &record) |
| Reads a record defining the name of a non-standard group. More...
|
|
virtual bool | fillRecord (const char *line, Size size, PDB::RecordHETNAM &record) |
|
virtual bool | parseRecordHETNAM (const char *line, Size size) |
|
virtual bool | interpretRecord (const PDB::RecordHETSYN &record) |
| Reads a record defining synonyms of a non-standard group. More...
|
|
virtual bool | fillRecord (const char *line, Size size, PDB::RecordHETSYN &record) |
|
virtual bool | parseRecordHETSYN (const char *line, Size size) |
|
virtual bool | interpretRecord (const PDB::RecordHYDBND &record) |
| Reads a record defining a hydrogen bond. More...
|
|
virtual bool | fillRecord (const char *line, Size size, PDB::RecordHYDBND &record) |
|
virtual bool | parseRecordHYDBND (const char *line, Size size) |
|
virtual bool | interpretRecord (const PDB::RecordJRNL &record) |
| Reads a record containing a journal reference. More...
|
|
virtual bool | fillRecord (const char *line, Size size, PDB::RecordJRNL &record) |
|
virtual bool | parseRecordJRNL (const char *line, Size size) |
|
virtual bool | interpretRecord (const PDB::RecordKEYWDS &record) |
| Reads a record containing keywords for this entry. More...
|
|
virtual bool | fillRecord (const char *line, Size size, PDB::RecordKEYWDS &record) |
|
virtual bool | parseRecordKEYWDS (const char *line, Size size) |
|
virtual bool | interpretRecord (const PDB::RecordLINK &record) |
| Reads a record containing supplemental connectivity information. More...
|
|
virtual bool | fillRecord (const char *line, Size size, PDB::RecordLINK &record) |
|
virtual bool | parseRecordLINK (const char *line, Size size) |
|
virtual bool | interpretRecord (const PDB::RecordMASTER &record) |
|
virtual bool | fillRecord (const char *line, Size size, PDB::RecordMASTER &record) |
|
virtual bool | parseRecordMASTER (const char *line, Size size) |
|
virtual bool | interpretRecord (const PDB::RecordMODEL &record) |
| Reads a record indicating the beginning of a new model. More...
|
|
virtual bool | fillRecord (const char *line, Size size, PDB::RecordMODEL &record) |
|
virtual bool | parseRecordMODEL (const char *line, Size size) |
|
virtual bool | interpretRecord (const PDB::RecordMODRES &record) |
| Reads a record identifying residue modifications. More...
|
|
virtual bool | fillRecord (const char *line, Size size, PDB::RecordMODRES &record) |
|
virtual bool | parseRecordMODRES (const char *line, Size size) |
|
virtual bool | interpretRecord (const PDB::RecordMTRIX1 &record) |
|
virtual bool | fillRecord (const char *line, Size size, PDB::RecordMTRIX1 &record) |
|
virtual bool | parseRecordMTRIX1 (const char *line, Size size) |
|
virtual bool | interpretRecord (const PDB::RecordMTRIX2 &record) |
|
virtual bool | fillRecord (const char *line, Size size, PDB::RecordMTRIX2 &record) |
|
virtual bool | parseRecordMTRIX2 (const char *line, Size size) |
|
virtual bool | interpretRecord (const PDB::RecordMTRIX3 &record) |
|
virtual bool | fillRecord (const char *line, Size size, PDB::RecordMTRIX3 &record) |
|
virtual bool | parseRecordMTRIX3 (const char *line, Size size) |
|
virtual bool | interpretRecord (const PDB::RecordOBSLTE &record) |
|
virtual bool | fillRecord (const char *line, Size size, PDB::RecordOBSLTE &record) |
|
virtual bool | parseRecordOBSLTE (const char *line, Size size) |
|
virtual bool | interpretRecord (const PDB::RecordORIGX1 &record) |
|
virtual bool | fillRecord (const char *line, Size size, PDB::RecordORIGX1 &record) |
|
virtual bool | parseRecordORIGX1 (const char *line, Size size) |
|
virtual bool | interpretRecord (const PDB::RecordORIGX2 &record) |
|
virtual bool | fillRecord (const char *line, Size size, PDB::RecordORIGX2 &record) |
|
virtual bool | parseRecordORIGX2 (const char *line, Size size) |
|
virtual bool | interpretRecord (const PDB::RecordORIGX3 &record) |
|
virtual bool | fillRecord (const char *line, Size size, PDB::RecordORIGX3 &record) |
|
virtual bool | parseRecordORIGX3 (const char *line, Size size) |
|
virtual bool | interpretRecord (const PDB::RecordREMARK &record) |
| Reads a record containing remarks. More...
|
|
virtual bool | fillRecord (const char *line, Size size, PDB::RecordREMARK &record) |
|
virtual bool | parseRecordREMARK (const char *line, Size size) |
|
virtual bool | interpretRecord (const PDB::RecordREVDAT &record) |
| Reads a record containing a revision history. More...
|
|
virtual bool | fillRecord (const char *line, Size size, PDB::RecordREVDAT &record) |
|
virtual bool | parseRecordREVDAT (const char *line, Size size) |
|
virtual bool | interpretRecord (const PDB::RecordSCALE1 &record) |
| Reads a scale transformation record. More...
|
|
virtual bool | fillRecord (const char *line, Size size, PDB::RecordSCALE1 &record) |
|
virtual bool | parseRecordSCALE1 (const char *line, Size size) |
|
virtual bool | interpretRecord (const PDB::RecordSCALE2 &record) |
| Reads a scale transformation record. More...
|
|
virtual bool | fillRecord (const char *line, Size size, PDB::RecordSCALE2 &record) |
|
virtual bool | parseRecordSCALE2 (const char *line, Size size) |
|
virtual bool | interpretRecord (const PDB::RecordSCALE3 &record) |
| Reads a scale transformation record. More...
|
|
virtual bool | fillRecord (const char *line, Size size, PDB::RecordSCALE3 &record) |
|
virtual bool | parseRecordSCALE3 (const char *line, Size size) |
|
virtual bool | interpretRecord (const PDB::RecordSEQADV &record) |
| Sequence information conflicts between atom records and dbref content. More...
|
|
virtual bool | fillRecord (const char *line, Size size, PDB::RecordSEQADV &record) |
|
virtual bool | parseRecordSEQADV (const char *line, Size size) |
|
virtual bool | interpretRecord (const PDB::RecordSEQRES &record) |
| Reads a record containing the sequence of residues. More...
|
|
virtual bool | fillRecord (const char *line, Size size, PDB::RecordSEQRES &record) |
|
virtual bool | parseRecordSEQRES (const char *line, Size size) |
|
virtual bool | interpretRecord (const PDB::RecordSHEET &record) |
| Reads a record defining a beta-sheet. More...
|
|
virtual bool | fillRecord (const char *line, Size size, PDB::RecordSHEET &record) |
|
virtual bool | parseRecordSHEET (const char *line, Size size) |
|
virtual bool | interpretRecord (const PDB::RecordSIGATM &record) |
| Reads a record giving the standard deviation of atomic coordinates. More...
|
|
virtual bool | fillRecord (const char *line, Size size, PDB::RecordSIGATM &record) |
|
virtual bool | parseRecordSIGATM (const char *line, Size size) |
|
virtual bool | interpretRecord (const PDB::RecordSIGUIJ &record) |
|
virtual bool | fillRecord (const char *line, Size size, PDB::RecordSIGUIJ &record) |
|
virtual bool | parseRecordSIGUIJ (const char *line, Size size) |
|
virtual bool | interpretRecord (const PDB::RecordSITE &record) |
| Reads a record containing groups comprising a site. More...
|
|
virtual bool | fillRecord (const char *line, Size size, PDB::RecordSITE &record) |
|
virtual bool | parseRecordSITE (const char *line, Size size) |
|
virtual bool | interpretRecord (const PDB::RecordSLTBRG &record) |
| Reads a record defining a salt bridge. More...
|
|
virtual bool | fillRecord (const char *line, Size size, PDB::RecordSLTBRG &record) |
|
virtual bool | parseRecordSLTBRG (const char *line, Size size) |
|
virtual bool | interpretRecord (const PDB::RecordSOURCE &record) |
|
virtual bool | fillRecord (const char *line, Size size, PDB::RecordSOURCE &record) |
|
virtual bool | parseRecordSOURCE (const char *line, Size size) |
|
virtual bool | interpretRecord (const PDB::RecordSPRSDE &record) |
| List of entries this file supersedes. More...
|
|
virtual bool | fillRecord (const char *line, Size size, PDB::RecordSPRSDE &record) |
|
virtual bool | parseRecordSPRSDE (const char *line, Size size) |
|
virtual bool | interpretRecord (const PDB::RecordSSBOND &record) |
| Reads a record specifying a disulfide bond. More...
|
|
virtual bool | fillRecord (const char *line, Size size, PDB::RecordSSBOND &record) |
|
virtual bool | parseRecordSSBOND (const char *line, Size size) |
|
virtual bool | interpretRecord (const PDB::RecordTER &record) |
| Reads a record terminating molecule. More...
|
|
virtual bool | fillRecord (const char *line, Size size, PDB::RecordTER &record) |
|
virtual bool | parseRecordTER (const char *line, Size size) |
|
virtual bool | interpretRecord (const PDB::RecordTITLE &record) |
| Reads a record specifying the title of the experiment or anaysis. More...
|
|
virtual bool | fillRecord (const char *line, Size size, PDB::RecordTITLE &record) |
|
virtual bool | parseRecordTITLE (const char *line, Size size) |
|
virtual bool | interpretRecord (const PDB::RecordTURN &record) |
| Reads a record specifying a turn. More...
|
|
virtual bool | fillRecord (const char *line, Size size, PDB::RecordTURN &record) |
|
virtual bool | parseRecordTURN (const char *line, Size size) |
|
virtual bool | interpretRecord (const PDB::RecordTVECT &record) |
|
virtual bool | fillRecord (const char *line, Size size, PDB::RecordTVECT &record) |
|
virtual bool | parseRecordTVECT (const char *line, Size size) |
|
|
PDBFile & | operator>> (Protein &protein) |
|
PDBFile & | operator>> (Molecule &molecule) |
|
PDBFile & | operator>> (System &system) |
|
PDBFile & | operator<< (const Protein &protein) |
|
PDBFile & | operator<< (const System &system) |
|
PDBFile & | operator<< (const Molecule &molecule) |
|
bool | read (Protein &protein) |
|
bool | read (Molecule &protein) |
|
bool | read (System &system) |
|
Molecule * | read () |
|
bool | write (const Protein &protein) |
|
bool | write (const Molecule &molecule) |
|
bool | write (const System &system) |
|
bool | write (const System &system, const PDBInfo &info) |
|
| GenericMolFile () |
|
| GenericMolFile (const String &filename, File::OpenMode open_mode=std::ios::in) |
|
virtual | ~GenericMolFile () |
|
virtual void | close () |
|
const GenericMolFile & | operator= (const GenericMolFile &rhs) |
|
void | defineInputAsTemporary (bool b=true) |
|
void | enableOutputCompression (String zipped_filename) |
|
bool | isCompressedFile () |
|
| LineBasedFile () |
| Default constructor. More...
|
|
| LineBasedFile (const String &filename, File::OpenMode open_mode=std::ios::in, bool trim_whitespaces=false) |
|
bool | operator== (const LineBasedFile &f) |
|
bool | operator!= (const LineBasedFile &f) |
|
const LineBasedFile & | operator= (const LineBasedFile &file) |
|
Position | getLineNumber () const |
| Get the last line number in the file. More...
|
|
const String & | getLine () const |
| Return the current line. More...
|
|
String & | getLine () |
| Return the current line. More...
|
|
bool | readLine () |
|
bool | skipLines (Size number=1) |
|
bool | search (const String &text, bool return_to_start=false) |
|
bool | search (const String &text, const String &stop, bool return_to_start=false) |
|
bool | gotoLine (Position line_number) |
|
void | rewind () |
|
void | test (const char *file, int line, bool condition, const String &msg) const |
|
String | getField (Index pos=0, const String "es="", const String &delimiters=String::CHARACTER_CLASS__WHITESPACE) const |
|
bool | startsWith (const String &text) const |
| Test if the current line starts with text. More...
|
|
bool | has (const String &text) const |
| Return true if the current line contains text. More...
|
|
Index | switchString (const std::vector< String > &data) const |
|
bool | parseColumnFormat (const char *format, Position index, Size length, void *arg) |
|
void | enableTrimWhitespaces (bool state) |
| Set wheter leading and trailing whitespaces in lines shall be removed. More...
|
|
bool | trimWhiteSpacesEnabled () const |
|
| File () |
|
| File (const String &name, OpenMode open_mode=std::ios::in) |
|
virtual | ~File () |
|
bool | isValid () const |
|
bool | open (const String &name, File::OpenMode open_mode=std::ios::in) |
|
bool | reopen () |
|
bool | reopen (File::OpenMode open_mode) |
|
void | close () |
|
const String & | getName () const |
|
void | setName (const String &name) |
|
const String & | getOriginalName () const |
|
Size | getSize () |
|
File::OpenMode | getOpenMode () const |
|
Type | getType (bool trace_link) const |
|
bool | copyTo (const String &destination_name, Size buffer_size=4096) |
|
bool | moveTo (const String &destination_name) |
|
bool | remove () |
|
bool | renameTo (const String &new_path) |
|
bool | truncate (Size size=0) |
|
std::fstream & | getFileStream () |
|
TransformationManager & | getTransformationManager () |
|
const TransformationManager & | getTransformationManager () const |
|
bool | operator== (const File &file) const |
|
bool | operator!= (const File &file) const |
|
bool | isOpen () const |
|
bool | isClosed () const |
|
bool | isAccessible () const |
|
bool | isCanonized () const |
|
bool | isReadable () const |
|
bool | isWritable () const |
|
bool | isExecutable () const |
|
BALL_INLINE | PropertyManager () |
| Default constructor. More...
|
|
BALL_INLINE | PropertyManager (const PropertyManager &property_manager) |
| Copy constructor. More...
|
|
virtual | ~PropertyManager () |
| Destructor. More...
|
|
virtual void | destroy () |
| Clears all properties. More...
|
|
void | set (const PropertyManager &property_manager) |
|
const PropertyManager & | operator= (const PropertyManager &property_manager) |
|
void | get (PropertyManager &property_manager) const |
|
void | swap (PropertyManager &property_manager) |
|
BitVector & | getBitVector () |
|
const BitVector & | getBitVector () const |
|
| operator BitVector & () |
|
void | setProperty (Property property) |
|
void | clearProperty (Property property) |
|
void | toggleProperty (Property property) |
|
Size | countProperties () const |
|
const NamedProperty & | getNamedProperty (Position index) const |
|
NamedProperty & | getNamedProperty (Position index) |
|
void | setProperty (const NamedProperty &property) |
|
void | setProperty (const std::string &name) |
|
void | setProperty (const std::string &name, bool value) |
|
void | setProperty (const std::string &name, int value) |
|
void | setProperty (const std::string &name, unsigned int value) |
|
void | setProperty (const std::string &name, float value) |
|
void | setProperty (const std::string &name, double value) |
|
void | setProperty (const std::string &name, const std::string &value) |
|
void | setProperty (const std::string &name, const PersistentObject &value) |
|
const NamedProperty & | getProperty (const std::string &name) const |
|
NamedPropertyIterator | beginNamedProperty () |
|
NamedPropertyIterator | endNamedProperty () |
|
void | clearProperty (const std::string &name) |
|
Size | countNamedProperties () const |
|
bool | hasProperty (Property property) const |
| Query for an unnamed property. More...
|
|
bool | hasProperty (const std::string &name) const |
| Query for a named property. More...
|
|
bool | operator== (const PropertyManager &pm) const |
|
bool | operator!= (const PropertyManager &pm) const |
| Inequality operator. More...
|
|
void | write (PersistenceManager &pm) const |
| Persistent stream writing. More...
|
|
bool | read (PersistenceManager &pm) |
| Persistent stream reading. More...
|
|
bool | isValid () const |
|
void | dump (std::ostream &s=std::cout, Size depth=0) const |
|