FOX/ObjCryst++  1.10.X (development)
ObjCryst::ScatteringComponentList Class Reference

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 ScatteringComponentoperator() (const long i) const
 Access to a component.
 
ScatteringComponentoperator() (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< ScatteringComponentmvScattComp
 The vector of components.
 

Detailed Description

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.

Member Function Documentation

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.


The documentation for this class was generated from the following files: