Lumiera  0.pre.03
»edit your freedom«
IterAdapterSTL_test Class Reference

Description

Test:
verify some of the adapters to expose typical container usage patterns as Lumiera Forward Iterators.
  • distinct values from a sequence
  • keys and values of a map / multimap
  • distinct keys from a multimap
  • multimap values associated with a given key
  • snapshot of an iterator, to be retrieved as iterator
See also
RangeIter
iter-adapter.hpp
iter-adapter-stl.hpp
Todo:
this test just pulls all the values from the iterator and the testsuite verifies the retrieved values. But for the hash-map, the order of the results is not guaranteed, and implementation dependent.

Definition at line 91 of file iter-adapter-stl-test.cpp.

Private Member Functions

void checkDistinctValIter ()
 
void checkIteratorSnapshot ()
 
template<class MAP >
void iterateMapKeyVal (MAP const &map)
 
template<class MMAP >
void iterateValues4Key (MMAP const &mumap)
 
virtual void run (Arg arg)
 
template<class IT >
uint sumAll (IT &it)
 
+ Inheritance diagram for IterAdapterSTL_test:
+ Collaboration diagram for IterAdapterSTL_test:

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