|
BALL
1.4.79
|
#include <BALL/FORMAT/PDBInfo.h>
Public Member Functions | |
Constructors and Destructor | |
| PDBInfo () | |
| PDBInfo (const PDBInfo &pdbi) | |
| virtual | ~PDBInfo () |
| virtual void | clear () |
| Reset all attributes to their initial state. More... | |
| PDBInfo & | operator= (const PDBInfo &rhs) |
| bool | operator== (const PDBInfo &rhs) const |
| Equality operator. More... | |
| bool | operator!= (const PDBInfo &rhs) const |
| Inequality operator. More... | |
| PDBRecords & | getSkippedRecords () |
| Return the unparsed records. More... | |
| const PDBRecords & | getSkippedRecords () const |
| Return the unparsed records. More... | |
| PDBRecords & | getInvalidRecords () |
| Return the unparsed records. More... | |
| const PDBRecords & | getInvalidRecords () const |
| Return the unparsed records. More... | |
| const String & | getFilename () const |
| Return the filename. More... | |
| void | setFilename (const String &filename) |
| Set the filename. More... | |
| const String & | getID () const |
| Return the PDB ID. More... | |
| void | setID (const String &id) |
| Set the PDB ID. More... | |
| Size | getNumberOfRecords () const |
| Return the total number of records read. More... | |
| void | setNumberOfRecords (Size n) |
| Set the number of records. More... | |
| Size | getNumberOfModels () const |
| Return the number of models. More... | |
| Size & | getNumberOfModels () |
| Return the number of models. More... | |
| void | setNumberOfModels (Size n) |
| Set the number of models. More... | |
| Position | getCurrentModel () const |
| Return the number of the last model read. More... | |
| Position & | getCurentModel () |
| Return the number of the last model read. More... | |
| void | setCurrentModel (Position n) |
| Set the number of the model read. More... | |
| Size | getNumberOfATOMRecords () const |
| Return the number of atom records read. More... | |
| Size & | getNumberOfATOMRecords () |
| Return the number of atom records read. More... | |
| void | setNumberOfATOMRecords (Size n) |
| Set the number of atom records read. More... | |
| Size | getNumberOfHETATMRecords () const |
| Return the number of hetatm records read. More... | |
| Size & | getNumberOfHETATMRecords () |
| Return the number of hetatm records read. More... | |
| void | setNumberOfHETATMRecords (Size n) |
| Set the number of hetatm records read. More... | |
| const String & | getName () const |
| Return the name of the system as contained in the HEADER record. More... | |
| void | setName (const String &name) |
| Set the name of the system. This is written to the HEADER record (truncated!). More... | |
| std::list< Position > | getRecordIndices (PDB::RecordType record) const |
Storable Interface | |
| void | persistentWrite (PersistenceManager &pm, const char *name) const |
| void | persistentRead (PersistenceManager &pm) |
Public Member Functions inherited from BALL::PersistentObject | |
| PersistentObject () | |
| virtual | ~PersistentObject () |
| PersistenceManager & | operator>> (PersistenceManager &pm) const |
| virtual void | finalize () |
Public Member Functions inherited from BALL::Object | |
| Object () | |
| Default constructor. More... | |
| Object (const Object &object) | |
| Copy constructor. More... | |
| virtual | ~Object () |
| Destructor. More... | |
| const Object & | operator= (const Object &) |
| bool | operator== (const Object &object) const |
| bool | operator!= (const Object &object) const |
| bool | operator< (const Object &object) const |
| bool | operator<= (const Object &object) const |
| bool | operator>= (const Object &object) const |
| bool | operator> (const Object &object) const |
| int | compare (const Object &object) const |
| virtual bool | isValid () const |
| virtual void | dump (::std::ostream &s=std::cout, Size depth=0) const |
| Handle | getHandle () const |
Public Member Functions inherited from BALL::AutoDeletable | |
| virtual | ~AutoDeletable () |
| void * | operator new (size_t size) |
| void | operator delete (void *ptr) |
| void * | operator new (size_t size, void *ptr) |
| void | operator delete (void *ptr, void *) |
| bool | isAutoDeletable () const |
| void | setAutoDeletable (bool enable) |
Protected Attributes | |
| PDBRecords | skipped_records_ |
| Skipped PDB records (not parsed) More... | |
| PDBRecords | invalid_records_ |
| Invalid PDB records (tried to parse, but failed) More... | |
| String | filename_ |
| Filename. More... | |
| String | id_ |
| PDB ID. More... | |
| String | name_ |
| Name. More... | |
| Size | number_of_records_ |
| Total file size in bytes. More... | |
| Size | number_of_models_ |
| Total number of models. More... | |
| Position | model_read_ |
| Model last read. More... | |
| Size | number_of_atom_records_ |
| Number of ATOM records. More... | |
| Size | number_of_hetatm_records_ |
| Number of HETATM records. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from BALL::Object | |
| static Handle | getNextHandle () |
| static Handle | getNewHandle () |
Static Public Member Functions inherited from BALL::AutoDeletable | |
| static void | clearLastPtr () |
Protected Member Functions inherited from BALL::AutoDeletable | |
| AutoDeletable () | |
| AutoDeletable (const AutoDeletable &auto_deletable, bool deep=false) | |
PDB information class. This class contains holds summary information on a PDB file read by GenericPDBFile or PDBFile as well as unparse records.
| BALL::PDBInfo::PDBInfo | ( | ) |
| BALL::PDBInfo::PDBInfo | ( | const PDBInfo & | pdbi | ) |
|
virtual |
|
virtual |
Reset all attributes to their initial state.
Reimplemented from BALL::Object.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| std::list<Position> BALL::PDBInfo::getRecordIndices | ( | PDB::RecordType | record | ) | const |
Return a list of indices matchin a specific record type. This list is constructed by a linear search over all records currently stored in the skipped indices.
|
inline |
|
inline |
|
virtual |
Persistent stream reading.
Reimplemented from BALL::PersistentObject.
|
virtual |
Persistent stream writing.
Reimplemented from BALL::PersistentObject.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
1.8.7