PedestrainCounting
Public Types | Public Member Functions | List of all members
MultiSampler::const_iterator Class Reference

#include <MultiSampler.h>

Public Types

typedef const_iterator self_type
 
typedef const Rect value_type
 
typedef const Rectreference
 
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 ()
 

Detailed Description

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 *);


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