Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File 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...

List of all members.

Public Member Functions

 ScatteringComponentList ()
 ScatteringComponentList (const long nbComponent)
 ScatteringComponentList (const ScatteringComponentList &old)
 ~ScatteringComponentList ()
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.


Constructor & Destructor Documentation

ObjCryst::ScatteringComponentList::ScatteringComponentList  ) 
 

ObjCryst::ScatteringComponentList::ScatteringComponentList const long  nbComponent  ) 
 

ObjCryst::ScatteringComponentList::ScatteringComponentList const ScatteringComponentList old  ) 
 

ObjCryst::ScatteringComponentList::~ScatteringComponentList  ) 
 


Member Function Documentation

long ObjCryst::ScatteringComponentList::GetNbComponent  )  const
 

Number of components.

ScatteringComponent& ObjCryst::ScatteringComponentList::operator() const long  i  ) 
 

const ScatteringComponent& ObjCryst::ScatteringComponentList::operator() const long  i  )  const
 

Access to a component.

void ObjCryst::ScatteringComponentList::operator++  ) 
 

Add component (the whole list should be updated after that).

void ObjCryst::ScatteringComponentList::operator+= const ScatteringComponent rhs  ) 
 

Add component.

void ObjCryst::ScatteringComponentList::operator+= const ScatteringComponentList rhs  ) 
 

Add another list of components.

void ObjCryst::ScatteringComponentList::operator--  ) 
 

Remove component (the whole list should be updated after that).

void ObjCryst::ScatteringComponentList::operator= const ScatteringComponentList rhs  ) 
 

Assignement operator.

bool ObjCryst::ScatteringComponentList::operator== const ScatteringComponentList rhs  )  const
 

Compare two lists.

void ObjCryst::ScatteringComponentList::Print  )  const
 

Print the list of Scattering components. For debugging.

void ObjCryst::ScatteringComponentList::Reset  ) 
 

Reset the list.

This does not free the memory, but simply forgets that there already are some entries.


Member Data Documentation

vector<ScatteringComponent> ObjCryst::ScatteringComponentList::mvScattComp [protected]
 

The vector of components.


The documentation for this class was generated from the following file:
Generated on Tue Nov 14 15:05:21 2006 for ObjCryst++ by doxygen 1.3.6