Qore Programming Language Reference Manual 1.19.2
Loading...
Searching...
No Matches
QC_AbstractLineIterator.dox.h
1
2namespace Qore {
4
9
10public:
12
23abstract string getLine();
24
25public:
27
62list<string> getSplitLine(string sep, string quote, string eol = "\n", bool trim_unquoted = False);
63
64public:
66
80abstract string getValue();
81
82public:
84
93abstract int index();
94
95public:
97
109abstract bool next();
110
111public:
113
121abstract bool valid();
122};
123}
This class defines an abstract interface for iterators.
Definition: QC_AbstractIterator.dox.h:10
This class defines an abstract interface for line iterators.
Definition: QC_AbstractLineIterator.dox.h:8
abstract bool valid()
Returns True if the iterator is currently pointing at a valid element, False if not.
list< string > getSplitLine(string sep, string quote, string eol="\n", bool trim_unquoted=False)
Returns the current line and splits the string into a list of components based on a separator string ...
abstract string getLine()
Returns the current line in the data or throws an INVALID-ITERATOR exception if the iterator is inval...
abstract bool next()
Moves the current position to the next line; returns False if there are no more lines to read.
abstract string getValue()
Returns the current line in the data or throws an INVALID-ITERATOR exception if the iterator is inval...
abstract int index()
Returns the current iterator line number (the first line is line 1) or 0 if not pointing at a valid e...
const False
logical False
Definition: qc_qore.dox.h:96
Qore namespace.
Definition: QC_AbstractSmartLock.dox.h:2