Scid
4.7.0
|
class HFilterInverted - iterate through games excluded from a filter More...
#include <hfilter.h>
Public Member Functions | |
HFilterInverted (const HFilter &hfilter) | |
HFilter::const_iterator | begin () const |
HFilter::const_iterator | end () const |
size_t | size () const |
class HFilterInverted - iterate through games excluded from a filter
This class allow to iterate through games not included in HFilter objects using STL algorithms and c++11 for-ranged loops. For example: for (auto& gnum : HFilterInverted(hfilter_obj)) {} is equal to: for (gamenumT gnum = 0, gnum < scidBaseT::numGames(); gnum++) { if (hfilter_obj->get(gnum) != 0) continue; }
|
inlineexplicit |
|
inline |
|
inline |