| Overview | Group | Tree | Graph | Index | Concepts | 

The IloSelector template class is the base class
 for all selectors. A selector
 IloSelector<IloObject,IloContainer> is a class
 that implements the selection of an object of type
 IloObject from a container of
 type IloContainer.
Selectors can easily be built with the ILOSELECTOR0 macros or by defining an instance of
 IloBestSelector which is a
 combination of a visitor, a predicate, and a comparator.
For more information, see Selectors.
See Also:
| Method Summary | |
|---|---|
public IloBool | select(IloObject & selected, const IloContainer & collection) constSelects an object from a collection.  | 
| Method Detail | 
|---|
This member function selects an instance of
 IloObject from the given IloContainer
 handled by the selector. If no object can be selected,
 IloFalse is returned and the argument
 selected is not assigned. If an object is selected,
 IloTrue is returned and selected
 contains the selected object.