FOX/ObjCryst++
1.10.X (development)
|
list of scattering positions in a crystal, associated with the corresponding occupancy and a pointer to the ScatteringPower. More...
Public Member Functions | |
ScatteringComponentList (const long nbComponent) | |
ScatteringComponentList (const ScatteringComponentList &old) | |
void | Reset () |
Reset the list. More... | |
const ScatteringComponent & | operator() (const long i) const |
Access to a component. | |
ScatteringComponent & | operator() (const long i) |
long | GetNbComponent () const |
Number of components. | |
void | operator= (const ScatteringComponentList &rhs) |
Assignement operator. | |
bool | operator== (const ScatteringComponentList &rhs) const |
Compare two lists. | |
void | operator+= (const ScatteringComponentList &rhs) |
Add another list of components. | |
void | operator+= (const ScatteringComponent &rhs) |
Add component. | |
void | operator++ () |
Add component (the whole list should be updated after that) | |
void | operator-- () |
Remove component (the whole list should be updated after that) | |
void | Print () const |
Print the list of Scattering components. For debugging. | |
Protected Attributes | |
vector< ScatteringComponent > | mvScattComp |
The vector of components. | |
list of scattering positions in a crystal, associated with the corresponding occupancy and a pointer to the ScatteringPower.
Definition at line 492 of file ScatteringPower.h.
void ObjCryst::ScatteringComponentList::Reset | ( | ) |
Reset the list.
This does not free the memory, but simply forgets that there already are some entries.
Definition at line 947 of file ScatteringPower.cpp.