FunctionCompare Class Template Reference

List of all members.

Public Member Functions

 FunctionCompare (bool(*func)(const T &, void *), void *v)
 Constructor that defines the pointer to function and search value.
bool operator() (T t) const
 The operator() must be defined. Calls the function test_fn.

Private Attributes

bool(* test_fn )(const T &, void *)
 Pointer to test function.
void * search_val
 Holds the value to search for.

Detailed Description

template<class T>
class Dakota::FunctionCompare< T >

Internal functor to mimic the RW find and index functions using the STL find_if() method. The class holds a pointer to the test function and the search value.


The documentation for this class was generated from the following file:
Generated on Wed Nov 5 19:54:06 2008 for DAKOTA by  doxygen 1.5.1