#include <molecule.hpp>
Inheritance diagram for Molecule:
Molecule is a rigid-body molecule class, meaning that it can represent molecules as fixed collections of atoms/points that may be translated, rotated and transformed like any other fixed set of points in space.
Because Molecule is a simple, "bag of atoms" class, the interface is more permissive than a regular AtomicStructure. It is safe to insert/erase individual atoms in a Molecule, and to support this, Molecule conforms to the complete STL Sequence Concept.
Reimplemented from Chain.
typedef base_type ::dictionary dictionary |
Reimplemented from Chain.
typedef base_type ::value_type value_type |
Reimplemented from Chain.
typedef base_type ::const_iterator const_iterator |
Reimplemented from Chain.
typedef base_type ::reverse_iterator reverse_iterator |
Reimplemented from Chain.
Reimplemented from Chain.
typedef base_type ::const_reference const_reference |
Reimplemented from Chain.
typedef base_type ::const_pointer const_pointer |
Reimplemented from Chain.
typedef base_type ::difference_type difference_type |
Reimplemented from Chain.
typedef base_type ::atom_iterator atom_iterator |
Reimplemented from Chain.
typedef base_type ::const_atom_iterator const_atom_iterator |
Reimplemented from Chain.
Reimplemented from Chain.
Reimplemented from Chain.
typedef base_type ::structure_id_type structure_id_type |
Reimplemented from Chain.
typedef base_type ::atom_id_type atom_id_type |
Reimplemented from Chain.
Molecule | ( | size_type | n = 0 , |
|
const_reference | t = atom_type() , |
|||
id_type | type = id_type() , |
|||
char | chain_id = ' ' | |||
) |
virtual ~Molecule | ( | ) | [virtual] |
void insert | ( | iterator | p, | |
InputIterator | i, | |||
InputIterator | j | |||
) |
Reimplemented from BTKSequence< AtomType, StorageStrategy >.
virtual dictionary const& get_dictionary | ( | ) | const [virtual] |
Implements AtomicStructure.
virtual dictionary& get_dictionary | ( | ) | [virtual] |
Implements AtomicStructure.
void swap | ( | self_type & | b | ) |
Swap the contents of two Chains.
Explicitly protected to prevent heterogenous type swapping.
Reimplemented from Chain.
Assignment operator.
Explicitly protected to prevent heterogenous type assignments.
Reimplemented from Chain.
Less-than comparison.
Chain A is less than Chain B if the chain id of A is less than the chain id of B, or if the chain ids are equivalent, and static_cast<AtomicStructure>(A) < static_cast<AtomicStructure>(B) is a true statement.
Explicitly protected to prevent heterogenous type comparisons.
Reimplemented from Chain.