3#ifndef AWKWARD_ITERATOR_H_
4#define AWKWARD_ITERATOR_H_
53 const std::string& pre,
54 const std::string& post)
const;
Represents the current state of iteration over a Content array.
Definition: Iterator.h:20
const std::string tostring() const
Returns a string representation of this array (single-line XML).
const bool isdone() const
If true, the Iterator has reached the end of the array and calling next again would raise an error....
const std::string tostring_part(const std::string &indent, const std::string &pre, const std::string &post) const
Internal function to build an output string for tostring.
const int64_t at() const
The current position of the Iterator.
Iterator(const ContentPtr &content)
Creates an Iterator from a full set of parameters.
const ContentPtr next()
Return the current item and then move the pointer to the next.
const ContentPtr content() const
The array to iterate over.
#define LIBAWKWARD_EXPORT_SYMBOL
Definition: common.h:45
Definition: BitMaskedArray.h:15
std::shared_ptr< Content > ContentPtr
Definition: Content.h:15