#include <buildable_atom_decorator.h>
Collaboration diagram for BTK::BuildableAtomDecorator< AtomBase >:

Public Types | |
| typedef adjacent_container_t::iterator | adjacent_iterator |
| typedef adjacent_container_t::const_iterator | const_adjacent_iterator |
Public Member Functions | |
| BuildableAtomDecorator () | |
| BuildableAtomDecorator (const self_type &source) | |
| BuildableAtomDecorator (const base_type &a) | |
| This copy ctor is intended to make this type copy constructable with any other atom type. | |
| ~BuildableAtomDecorator () | |
| self_type & | operator= (const self_type &rhs) |
| self_type & | operator= (const base_type &rhs) |
| Intended to make this type assignable from any other atom type. | |
| bool | is_built () const |
| void | set_is_built (bool i) |
| adjacent_iterator | adjacent_begin () |
| adjacent_iterator | adjacent_end () |
| template<typename AtomType> void | add_adjacent (AtomType &next_atom) |
| Declare another atom to be bonded to this one. | |
| bool | build () |
| Try to build this atom, if it is contained in a buildable group. | |
| bool | boot_build () |
| Try to bootstrap build this atom, if it is contained in a buildable group. | |
| void | set_buildable_group (buildable_group_t &g) |
| Set the buildable group which has primary ownership of this atom. | |
Topological bond distance functions | |
This information is important for non-bonded energy calculations, so the bond distance is automatically cached to increase efficiency | |
| bool | is_bond_distance_cached () const |
| Reports whether the topological bond distance has been cached. | |
| void | set_is_bond_distance_cached (bool i) |
| Sets the status of topological bond distance caching. | |
| unsigned | bond_distance_4 (self_type &a2) |
| Report the topological bond distance of another atom up to 4 bonds away. | |
| void | set_bond_distance_4 (self_type &a2, unsigned dist) |
| Set the topological distance of another atom up to four bonds away. | |
This class decorates the AtomBase type (the template argument and the base class) with buildable and bonded capabilities reflecting bonding to other atoms and allowing the atom to be built, given that the group which contains the atom has the appropriate data to do so.
|
|||||
|
|
|
|||||
|
|
|
|||||||||
|
|
|
||||||||||
|
normal copy ctor must destroy all bond information, it is the containers responsibility to restore this |
|
||||||||||
|
This copy ctor is intended to make this type copy constructable with any other atom type.
|
|
|||||||||
|
|
|
||||||||||||||
|
Declare another atom to be bonded to this one.
|
|
|||||||||
|
|
|
|||||||||
|
|
|
||||||||||
|
Report the topological bond distance of another atom up to 4 bonds away.
|
|
|||||||||
|
Try to bootstrap build this atom, if it is contained in a buildable group.
|
Here is the call graph for this function:

|
|||||||||
|
Try to build this atom, if it is contained in a buildable group.
|
Here is the call graph for this function:

|
|||||||||
|
Reports whether the topological bond distance has been cached.
|
|
|||||||||
|
|
|
||||||||||
|
Intended to make this type assignable from any other atom type.
|
|
||||||||||
|
normal assign op must destroy all bond info, it is the containers responsibility to restore this |
|
||||||||||||||||
|
Set the topological distance of another atom up to four bonds away.
|
|
||||||||||
|
Set the buildable group which has primary ownership of this atom.
|
|
||||||||||
|
Sets the status of topological bond distance caching.
|
|
||||||||||
|
|
1.3.6