Lumiera
0.pre.03
»edit your freedom«
|
Demonstrates simple usage of the IterSource interface
Definition at line 171 of file iter-source-test.cpp.
Private Types | |
typedef std::unordered_map< string, TimeVar > | HashMap |
typedef std::unordered_multimap< int, int > | HashMultimap |
typedef IterSource< int >::iterator | IntIter |
typedef IterSource< string >::iterator | StringIter |
typedef IterSource< CStr >::iterator | StrIter |
typedef IterSource< TimeVar >::iterator | TimeIter |
typedef std::map< string, TimeVar > | TreeMap |
typedef std::multimap< int, int > | TreeMultimap |
Private Member Functions | |
virtual void | run (Arg arg) |
template<class MAP > | |
void | verify_MapWrappers () |
template<class MAP > | |
void | verify_MultimapIters () |
void | verify_simpleIters () |
void | verify_singleValIter () |
void | verify_transformIter () |
|
inlineprivate |
As demo transformation we use the values from our custom container (WrappedList) to build a time value in quarter seconds
Definition at line 237 of file iter-source-test.cpp.
|
inlineprivate |
Definition at line 257 of file iter-source-test.cpp.