ObjCryst++  1.5CVS
Public Member Functions | Protected Attributes
ObjCryst::ScatteringComponentList Class Reference

list of scattering positions in a crystal, associated with the corresponding occupancy and a pointer to the ScatteringPower. More...

List of all members.

Public Member Functions

 ScatteringComponentList (const long nbComponent)
 ScatteringComponentList (const ScatteringComponentList &old)
void Reset ()
 Reset the list.
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.


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.


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