|
Momentum
A library for solving nonlinear optimization problems related to human body kinematics
|
Iterator that walks through all segments while tracking line numbers. More...
#include <utility.h>
Public Member Functions | |
| LineIterator (const std::vector< SectionSegment > &segments) | |
| bool | getline (std::string &line) |
| Get the next line from the sections. | |
| size_t | currentLine () const |
| Get the current line number in the original file. | |
Iterator that walks through all segments while tracking line numbers.
|
explicit |
Definition at line 13 of file utility.cpp.
|
nodiscard |
Get the current line number in the original file.
Definition at line 38 of file utility.cpp.
| bool momentum::io_detail::SectionContent::LineIterator::getline | ( | std::string & | line | ) |
Get the next line from the sections.
Definition at line 20 of file utility.cpp.