Public Member Functions | Public Attributes | List of all members
SelectInt Struct Reference

Public Member Functions

 SelectInt (int want)
 
bool operator() (const IMyClass *obj)
 

Public Attributes

int target
 

Detailed Description

Definition at line 69 of file test_iterators.cxx.

Constructor & Destructor Documentation

SelectInt::SelectInt ( int  want)
inline

Definition at line 71 of file test_iterators.cxx.

71 : target(want) {}

Member Function Documentation

bool SelectInt::operator() ( const IMyClass obj)
inline

Definition at line 72 of file test_iterators.cxx.

72  {
73  return obj->get_i() == target;
74  }
virtual int get_i() const =0

Member Data Documentation

int SelectInt::target

Definition at line 70 of file test_iterators.cxx.


The documentation for this struct was generated from the following file: