CASExtractSingleValues Class Reference
[SupportClasses]

Function object for extracting single value objects out of an operand list. More...

#include <casfuncobj.h>

List of all members.

Public Member Functions

 CASExtractSingleValues (const CASExtractSingleValues &o)
 Copy constructor.
 CASExtractSingleValues ()
 Dummy constructor.
void operator() (CASObject *o)
 Function operator for retrieving the single value objects.
const CASExtractSingleValuesoperator= (const CASExtractSingleValues &o)
 Assignment operator.
void Result (std::vector< const CASObject * > &rl) const
 Returns the single value objects vector.

Private Attributes

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


Detailed Description

This function object is mostly used in conjunction with std::for_each in order to extract single value objects out of an operand vector. The extracted objects are stored in a vector which can be retrieved by calling CASExtractSingleValues::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 682 of file casfuncobj.h.


Constructor & Destructor Documentation

CASExtractSingleValues::CASExtractSingleValues (  )  [inline, explicit]

Dummy constructor.

Definition at line 699 of file casfuncobj.h.


Member Data Documentation

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

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

Definition at line 692 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