size_t currentLine() const
Get the current line number in the original file.
bool getline(std::string &line)
Get the next line from the sections.
LineIterator(const std::vector< SectionSegment > &segments)
std::string toString() const
Get all content as a single concatenated string (for backward compatibility).