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
list< auto > list(...)
Returns a list of the arguments passed at the top level.
Qore namespace.
Definition QC_AbstractSmartLock.dox.h:2