#include <pdb_system.hpp>
Inheritance diagram for PDBSystem:
Reimplemented from System< PolymerType, ChemicalTypeSystemType, StorageStrategy >.
typedef base_type ::dictionary dictionary |
Reimplemented from System< PolymerType, ChemicalTypeSystemType, StorageStrategy >.
Reimplemented from System< PolymerType, ChemicalTypeSystemType, StorageStrategy >.
typedef base_type ::value_type value_type |
Reimplemented from System< PolymerType, ChemicalTypeSystemType, StorageStrategy >.
Reimplemented from System< PolymerType, ChemicalTypeSystemType, StorageStrategy >.
typedef base_type ::const_iterator const_iterator |
Reimplemented from System< PolymerType, ChemicalTypeSystemType, StorageStrategy >.
typedef base_type ::reverse_iterator reverse_iterator |
Reimplemented from System< PolymerType, ChemicalTypeSystemType, StorageStrategy >.
Reimplemented from System< PolymerType, ChemicalTypeSystemType, StorageStrategy >.
Reimplemented from System< PolymerType, ChemicalTypeSystemType, StorageStrategy >.
typedef base_type ::const_reference const_reference |
Reimplemented from System< PolymerType, ChemicalTypeSystemType, StorageStrategy >.
Reimplemented from System< PolymerType, ChemicalTypeSystemType, StorageStrategy >.
typedef base_type ::const_pointer const_pointer |
Reimplemented from System< PolymerType, ChemicalTypeSystemType, StorageStrategy >.
typedef base_type ::difference_type difference_type |
Reimplemented from System< PolymerType, ChemicalTypeSystemType, StorageStrategy >.
Reimplemented from System< PolymerType, ChemicalTypeSystemType, StorageStrategy >.
typedef base_type ::chain_type chain_type |
Type definitions required for all System classes.
Reimplemented from System< PolymerType, ChemicalTypeSystemType, StorageStrategy >.
typedef base_type ::chain_iterator chain_iterator |
Reimplemented from System< PolymerType, ChemicalTypeSystemType, StorageStrategy >.
Reimplemented from System< PolymerType, ChemicalTypeSystemType, StorageStrategy >.
Reimplemented from System< PolymerType, ChemicalTypeSystemType, StorageStrategy >.
Reimplemented from System< PolymerType, ChemicalTypeSystemType, StorageStrategy >.
typedef base_type ::structure_id_type structure_id_type |
Reimplemented from System< PolymerType, ChemicalTypeSystemType, StorageStrategy >.
Reimplemented from System< PolymerType, ChemicalTypeSystemType, StorageStrategy >.
typedef base_type ::atom_iterator atom_iterator |
Reimplemented from System< PolymerType, ChemicalTypeSystemType, StorageStrategy >.
typedef base_type ::const_atom_iterator const_atom_iterator |
Reimplemented from System< PolymerType, ChemicalTypeSystemType, StorageStrategy >.
Reimplemented from System< PolymerType, ChemicalTypeSystemType, StorageStrategy >.
Reimplemented from System< PolymerType, ChemicalTypeSystemType, StorageStrategy >.
typedef base_type ::monomer_type monomer_type |
Reimplemented from PolymerSystemBase.
typedef base_type ::monomer_iterator monomer_iterator |
Reimplemented from PolymerSystemBase.
Reimplemented from PolymerSystemBase.
Reimplemented from PolymerSystemBase.
Reimplemented from PolymerSystemBase.
PDBSystem | ( | std::string const & | filename, | |
int | which_model, | |||
bool | load_hetatoms = true , |
|||
bool | dynamic_types = true , |
|||
chemical_type_system const & | cts = chemical_type_system() | |||
) |
A model-aware constructor.
Creates a PDBSystem using the specified MODEL from a PDB file.
filename | Name of PDB file to parse. | |
which_model | The number of the MODEL to parse from the PDB file. | |
load_hetatoms | If true, HETATM records are parsed as atoms. If false, HETATM records are skipped. | |
dynamic_types | If true, unknown atom types/names are added to the specified type system. If the type system does not support dynamic types, this option has no effect. |
PDBSystem | ( | std::string const & | filename, | |
bool | load_hetatoms = true , |
|||
bool | dynamic_types = true , |
|||
chemical_type_system const & | cts = chemical_type_system() | |||
) |
Construct from a PDB file.
Creates a PDBSystem from the specified PDB file.
filename | Name of PDB file to parse. | |
load_hetatoms | If true, HETATM records are parsed as atoms. If false, HETATM records are skipped. | |
dynamic_types | If true, unknown atom types/names are added to the specified type system. If the type system does not support dynamic types, this option has no effect. |
PDBSystem | ( | size_type | n = 0 , |
|
const_reference | t = chain_type() | |||
) |
Create a PDBSystem from 0 or more Chain objects.
Because no PDB file is specified with these constructors, subsequent calls to get_model() and get_next_model() will fail, unless a call is made to open().
PDBSystem | ( | ChainIterator | begin, | |
ChainIterator | end | |||
) |
Create a PDBSystem from a range of Chain objects.
Copy a PDBSystem object.
virtual ~PDBSystem | ( | ) | [virtual] |
Destructor.
PDBSystem | ( | std::string const & | filename, | |
int | which_model, | |||
bool | load_hetatoms = true , |
|||
bool | dynamic_types = true , |
|||
chemical_type_system const & | cts = chemical_type_system() | |||
) |
A model-aware constructor.
Creates a PDBSystem using the specified MODEL from a PDB file.
filename | Name of PDB file to parse. | |
which_model | The number of the MODEL to parse from the PDB file. | |
load_hetatoms | If true, HETATM records are parsed as atoms. If false, HETATM records are skipped. | |
dynamic_types | If true, unknown atom types/names are added to the specified type system. If the type system does not support dynamic types, this option has no effect. |
PDBSystem | ( | std::string const & | filename, | |
bool | load_hetatoms = true , |
|||
bool | dynamic_types = true , |
|||
chemical_type_system const & | cts = chemical_type_system() | |||
) |
Construct from a PDB file.
Creates a PDBSystem from the specified PDB file.
filename | Name of PDB file to parse. | |
load_hetatoms | If true, HETATM records are parsed as atoms. If false, HETATM records are skipped. | |
dynamic_types | If true, unknown atom types/names are added to the specified type system. If the type system does not support dynamic types, this option has no effect. |
PDBSystem | ( | size_type | n = 0 , |
|
const_reference | t = chain_type() | |||
) |
Create a PDBSystem from 0 or more Chain objects.
Because no PDB file is specified with these constructors, subsequent calls to get_model() and get_next_model() will fail, unless a call is made to open().
PDBSystem | ( | ChainIterator | begin, | |
ChainIterator | end | |||
) |
Create a PDBSystem from a range of Chain objects.
Open a new PDB file.
Any previously loaded structures will be destroyed.
void close | ( | ) |
Close the current PDB file.
Structures in memory are unaffected.
std::string const& header | ( | ) | const |
Get the current PDB file header.
std::string const& filename | ( | ) | const |
Get the current PDB file name.
Get a MODEL from the current PDB file.
Any previously loaded structures/models will be destroyed.
Get the next model from the current PDB file.
Any previously loaded structures/models will be destroyed.