#include "WireCellUtil/Iterator.h"
#include "WireCellUtil/IteratorBase.h"
#include "WireCellUtil/Testing.h"
#include <boost/range.hpp>
#include <boost/function.hpp>
#include <vector>
#include <iostream>
#include <algorithm>
#include <iterator>
#include <memory>
#include <cmath>
Go to the source code of this file.
Classes | |
struct | IMyClass |
struct | MyClass |
struct | SelectInt |
struct | SelectInRange |
Typedefs | |
typedef Iterator< const IMyClass * > | my_iterator |
typedef std::pair< my_iterator, my_iterator > | my_range |
typedef IteratorBase< const IMyClass * > | my_base_iterator |
typedef vector< MyClass * > | MyStoreType |
typedef IteratorAdapter< MyStoreType::iterator, my_base_iterator > | my_adapted_iterator |
typedef boost::function< bool(const IMyClass *)> | my_selector |
Functions | |
my_range | get_data (MyStoreType &store) |
int | main () |
Variables | |
SelectInt | get1 = SelectInt(1) |
my_selector | get10 = SelectInt(10) |
SelectInRange | just_right = SelectInRange(5,10) |
Definition at line 63 of file test_iterators.cxx.
typedef IteratorBase< const IMyClass* > my_base_iterator |
Definition at line 50 of file test_iterators.cxx.
typedef Iterator<const IMyClass*> my_iterator |
Definition at line 41 of file test_iterators.cxx.
typedef std::pair<my_iterator, my_iterator> my_range |
Definition at line 44 of file test_iterators.cxx.
typedef boost::function<bool (const IMyClass*)> my_selector |
Definition at line 67 of file test_iterators.cxx.
typedef vector< MyClass* > MyStoreType |
Definition at line 57 of file test_iterators.cxx.
my_range get_data | ( | MyStoreType & | store | ) |
Definition at line 90 of file test_iterators.cxx.
int main | ( | void | ) |
Definition at line 97 of file test_iterators.cxx.
Definition at line 85 of file test_iterators.cxx.
my_selector get10 = SelectInt(10) |
Definition at line 86 of file test_iterators.cxx.
SelectInRange just_right = SelectInRange(5,10) |
Definition at line 87 of file test_iterators.cxx.