CASCalculateSortWeight Class Reference
[SupportClasses]

Calculates the sort weight of a CASObject. More...

#include <casfuncobj.h>

List of all members.

Public Member Functions

 CASCalculateSortWeight (const CASCalculateSortWeight &o)
 Copy constructor.
 CASCalculateSortWeight ()
 Constructor.
void operator() (CASObject *o)
 Function operator for calculating the sort weight.
const CASCalculateSortWeightoperator= (const CASCalculateSortWeight &o)
 Assignment operator.
CASObjectResult () const
 Returns the calculated sort weight.
 ~CASCalculateSortWeight ()
 Destructor.

Private Attributes

CASObjectweight
 A CASObject holding the sort weight.


Detailed Description

This function object calculates the sort weight of a CASObject. It is most likely used together with std::for_each.

See CASObject::SortWeight() for an explanation what the sort weight is.

Definition at line 783 of file casfuncobj.h.


Constructor & Destructor Documentation

CASCalculateSortWeight::CASCalculateSortWeight (  )  [inline, explicit]

Constructor. Initializes the weight pointer to 0 ('zero').

Definition at line 804 of file casfuncobj.h.


Member Data Documentation

CASObject* CASCalculateSortWeight::weight [private]

This CASObject holds the sort weight and is assumed to be a pointer to a LongInt.

It is not possible to define it as a LongInt since the SortWeight() method is a pure abstract method declared in CASObject.

Definition at line 795 of file casfuncobj.h.


The documentation for this class was generated from the following files:
Generated on Sun Dec 31 01:57:29 2006 for ECAS by  doxygen 1.4.7