Qore Programming Language Reference Manual  0.9.3.1
QC_AbstractLineIterator.dox.h
1 namespace Qore {
4 
9 
10 public:
12 
23 abstract string getLine();
24 
25 public:
27 
41 abstract string getValue();
42 
43 public:
45 
54 abstract int index();
55 
56 public:
58 
70 abstract bool next();
71 
72 public:
74 
82 abstract bool valid();
83 };
84 };
abstract string getValue()
Returns the current line in the data or throws an INVALID-ITERATOR exception if the iterator is inval...
abstract string getLine()
Returns the current line in the data or throws an INVALID-ITERATOR exception if the iterator is inval...
abstract bool valid()
Returns True if the iterator is currently pointing at a valid element, False if not.
This class defines an abstract interface for line iterators.
Definition: QC_AbstractLineIterator.dox.h:8
abstract bool next()
Moves the current position to the next line; returns False if there are no more lines to read.
main Qore-language namespace
Definition: Pseudo_QC_All.dox.h:2
abstract int index()
Returns the current iterator line number (the first line is line 1) or 0 if not pointing at a valid e...
This class defines an abstract interface for iterators.
Definition: QC_AbstractIterator.dox.h:10