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

Description

A straight descending number sequence as basic test iterator.

It is built wrapping an opaque "state core" (of type CountDown).

Note
the "state core" is not accessible from the outside

Definition at line 134 of file iter-explorer-test.cpp.

Public Member Functions

 NumberSequence (uint start=0)
 
 NumberSequence (uint start, uint end)
 
- Public Member Functions inherited from IterStateWrapper< uint, CountDown >
 IterStateWrapper (CountDown &&initialState)
 
 IterStateWrapper (CountDown const &initialState)
 
bool empty () const
 
 ENABLE_USE_IN_STD_RANGE_FOR_LOOPS (IterStateWrapper)
 
bool isValid () const
 
 operator bool () const
 
reference operator* () const
 
IterStateWrapperoperator++ ()
 
pointer operator-> () const
 

Additional Inherited Members

- Public Types inherited from IterStateWrapper< uint, CountDown >
typedef uint * pointer
 
typedef uint & reference
 
typedef uint value_type
 
- Protected Member Functions inherited from IterStateWrapper< uint, CountDown >
void __throw_if_empty () const
 
CountDown & stateCore ()
 allow derived classes to access state representation
 
CountDown const & stateCore () const
 
+ Inheritance diagram for NumberSequence:
+ Collaboration diagram for NumberSequence:

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