CASExtractNonSingleValues Class Reference
[SupportClasses]

Function object for extracting non-Single value objects out of an operand vector. More...

#include <casfuncobj.h>

List of all members.

Public Member Functions

 CASExtractNonSingleValues (const CASExtractNonSingleValues &o)
 Copy constructor.
 CASExtractNonSingleValues ()
 Dummy constructor.
void operator() (CASObject *o)
 Function operator for retrieving the non-single value objects.
const CASExtractNonSingleValuesoperator= (const CASExtractNonSingleValues &o)
 Assignment operator.
void Result (std::vector< const CASObject * > &rl) const
 Retrieves the single value objects list.

Private Attributes

std::vector< const CASObject * > l
 This vector eventually holds the non-single value objects.


Detailed Description

This function object is mostly used in conjunction with std::for_each in to extract non-single value objects out of an operand vector. The extracted objects are stored in a vector which can be retrieved by calling CASExtractNonSingleValues::Result.

The items in l are pointers to the CASObject stored in the operands vector. So modifications to the items in l are also reflected in operands

Definition at line 734 of file casfuncobj.h.


Constructor & Destructor Documentation

CASExtractNonSingleValues::CASExtractNonSingleValues (  )  [inline, explicit]

Dummy constructor.

Definition at line 751 of file casfuncobj.h.


Member Data Documentation

std::vector<const CASObject*> CASExtractNonSingleValues::l [private]

This vector eventually holds the pointers to the non-single value objects. No cloning takes place, so there is no need to free the objects pointed to from memory.

Definition at line 744 of file casfuncobj.h.


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