#include <chain.hpp>
Inheritance diagram for Chain:
typedef base_type ::dictionary dictionary |
typedef base_type ::value_type value_type |
typedef base_type ::const_iterator const_iterator |
typedef base_type ::reverse_iterator reverse_iterator |
typedef base_type ::const_reference const_reference |
typedef base_type ::const_pointer const_pointer |
typedef base_type ::difference_type difference_type |
typedef base_type ::atom_iterator atom_iterator |
typedef base_type ::const_atom_iterator const_atom_iterator |
typedef base_type ::structure_id_type structure_id_type |
typedef base_type ::atom_id_type atom_id_type |
virtual ~Chain | ( | ) | [virtual] |
Chain | ( | size_type | n = 0 , |
|
const_reference | t = atom_type() , |
|||
id_type | type = id_type() , |
|||
char | chain_id = ' ' | |||
) | [protected] |
Constructors that are not in the Chain concept, but will be useful in derived class types.
Constructors that are not in the Chain concept, but will be useful in derived class types.
Chain | ( | size_type | n = 0 , |
|
const_reference | t = atom_type() , |
|||
id_type | type = id_type() , |
|||
char | chain_id = ' ' | |||
) | [protected] |
Constructors that are not in the Chain concept, but will be useful in derived class types.
Constructors that are not in the Chain concept, but will be useful in derived class types.
virtual std::ostream& print | ( | std::ostream & | os, | |
size_type | first_atom_num = 1 , |
|||
size_type | group_num = 1 | |||
) | const [virtual] |
Print a chain.
char chain_id | ( | ) | const |
Get the chain id.
void set_chain_id | ( | char | ch_id | ) |
Set the chain id.
void swap | ( | self_type & | b | ) | [protected] |
Swap the contents of two Chains.
Explicitly protected to prevent heterogenous type swapping.
Reimplemented from AtomicStructure.
Reimplemented in Molecule.
Assignment operator.
Explicitly protected to prevent heterogenous type assignments.
Reimplemented from AtomicStructure.
Reimplemented in Molecule.
Equality comparison.
Two Chain objects are equivalent iff their chain ids are equal, and their contained atoms are all equivalent.
Explicitly protected to prevent heterogenous type comparisons.
Reimplemented from AtomicStructure.
Reimplemented in Molecule.
Equality comparison.
Two Chain objects are equivalent iff their chain ids are equal, and their contained atoms are all equivalent.
Explicitly protected to prevent heterogenous type comparisons.
Reimplemented from AtomicStructure.
Reimplemented in Molecule.
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 AtomicStructure.
Reimplemented in Molecule.