Public Member Functions

Fiber::FragmentSelector Class Reference
[Interfacing the Vector library with the MemCore library.]

Abstract base class to select a certain subset from a Field's collection of fragments. More...

#include <FragmentSelector.hpp>

List of all members.

Public Member Functions


Detailed Description

Abstract base class to select a certain subset from a Field's collection of fragments.


Member Function Documentation

virtual bool Fiber::FragmentSelector::contains ( CreativeArrayBase &  CAB  )  [pure virtual]

Coarse evaluation: Check if this field may fullfill the selection criteria as entity.

May for instance check interfaces or attributes on the given fragment, like the min/max range.

Parameters:
CAB A container that holds array attributes, and may eventually create data as well.
virtual void Fiber::FragmentSelector::createIndices ( std::vector< unsigned int > &  Indices,
const MemCore::RefPtr< MemBase > &  Data 
) [pure virtual]

Fine evaluation: compute indices that match.

Parameters:
Indices,: An empty array of indices, which will be filled by indices of the current data set which match the criteria that is implemented in this Selector.
Data,: The actual values.