PedestrainCounting
|
#include <MultiSampler.h>
Public Types | |
typedef const_iterator | self_type |
typedef const Rect | value_type |
typedef const Rect & | reference |
typedef std::vector< Rect >::const_pointer | pointer |
typedef int | difference_type |
typedef std::input_iterator_tag | iterator_category |
Public Member Functions | |
const_iterator (pointer p, int t, int l, bool *m) | |
self_type | operator++ () |
reference | operator* () |
pointer | operator-> () |
bool | operator== (const self_type &rhs) |
bool | operator!= (const self_type &rhs) |
int | GetTarget () |
Iterator for target i. Since we won't modify the sample, we only provide const iterator. Here the const_iterator is different from C++11. In C++11: const_iterator = (Rect * const); Here: const_iterator = (Rect const *) = (const Rect *);