Public Member Functions | |
| IntIterator (int start, int end, int step) | |
| Create iterator with the given boundaries and step. | |
| IntIterator (Attribute attr) | |
| Create iterator from a Range(min,max[,step]) attribute. | |
| void | Reset () |
| bool | MoveNext () |
| override string | ToString () |
Properties | |
| Object | Current |
| int | start |
| int | end |
| int | step |
| int | v |
| bool | reset |
Static Private Member Functions | |
| int | getBound (Object b) |
| Return integer boundary described by b. | |
|
||||||||||||||||
|
Create iterator with the given boundaries and step.
|
|
|
Create iterator from a Range(min,max[,step]) attribute. If attr is null, it defaults to IntIterator( -1, 1, 1 ). If step is not given, it defaults to 1. |
|
|
Return integer boundary described by b. If b is an int, returns it; if b is a string, it is interpreted as class field and its value is returned. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3.7