Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

ObjCryst::ScatteringComponentList Class Reference

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

#include <ScatteringPower.h>

List of all members.

Public Methods

 ScatteringComponentList ()
 ScatteringComponentList (const long nbComponent)
 ScatteringComponentList (const ScatteringComponentList &old)
 ~ScatteringComponentList ()
void Reset ()
 Reset the list. This does not free the memory, but simply forgets that there already are some entries.

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, not initialized (!).

void Print () const
 Print the list of Scattering components. For debugging.

void ChangeMaxNbComponent (const long num)
 Manually change the maximum number of scattering components (should be done automagically).


Protected Attributes

long mNbComponent
 Number of components so far.

ScatteringComponentmpScattComp
 The array of components.

long mMaxNbComponent
 Max number of components to be allocated before increasing array size.


Detailed Description

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


The documentation for this class was generated from the following file:
Generated on Tue Feb 5 17:37:25 2002 for ObjCryst++ by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001