#include <BALL/KERNEL/atom.h>
Public Member Functions | |
void | clear () |
Set the attributes to their default values. | |
void | swap (StaticAtomAttributes &attr) |
void | set (StaticAtomAttributes &attr) |
StaticAtomAttributes & | operator= (const StaticAtomAttributes &attr) |
Public Attributes | |
Index | formal_charge |
float | charge |
Vector3 | position |
Type | type |
Vector3 | velocity |
Vector3 | force |
Atom * | ptr |
void BALL::Atom::StaticAtomAttributes::clear | ( | ) |
Set the attributes to their default values.
StaticAtomAttributes& BALL::Atom::StaticAtomAttributes::operator= | ( | const StaticAtomAttributes & | attr | ) |
Assign the contents from a different atom attribute.
void BALL::Atom::StaticAtomAttributes::set | ( | StaticAtomAttributes & | attr | ) |
Assign the contents from a different atom attribute.
void BALL::Atom::StaticAtomAttributes::swap | ( | StaticAtomAttributes & | attr | ) |
Swap the contents of the two attributes. Adjusts the ptr
and index_
members of StaticAtomAttributes and Atom .