cgma
TreeSelectFind< TreeType, Y, Which > Struct Template Reference

#include <DynamicTreeIterator.hpp>

List of all members.

Public Member Functions

 TreeSelectFind (Y *y)
bool operator() (const typename TreeType::value_type &comp) const

Public Attributes

YmToFind

Detailed Description

template<class TreeType, class Y, class Which>
struct TreeSelectFind< TreeType, Y, Which >

Definition at line 40 of file DynamicTreeIterator.hpp.


Constructor & Destructor Documentation

template<class TreeType , class Y , class Which >
TreeSelectFind< TreeType, Y, Which >::TreeSelectFind ( Y y) [inline]

Definition at line 44 of file DynamicTreeIterator.hpp.

: mToFind(y) {}

Member Function Documentation

template<class TreeType , class Y , class Which >
bool TreeSelectFind< TreeType, Y, Which >::operator() ( const typename TreeType::value_type &  comp) const [inline]

Definition at line 45 of file DynamicTreeIterator.hpp.

  {
    return mToFind == Which()(comp);
  }

Member Data Documentation

template<class TreeType , class Y , class Which >
Y* TreeSelectFind< TreeType, Y, Which >::mToFind

Definition at line 43 of file DynamicTreeIterator.hpp.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines