|
Momentum
A library for solving nonlinear optimization problems related to human body kinematics
|
Holds all segments of a section and provides line-aware iteration This is used internally to track line numbers across potentially duplicate sections. More...
#include <utility.h>
Classes | |
| class | LineIterator |
| Iterator that walks through all segments while tracking line numbers. More... | |
Public Member Functions | |
| void | addSegment (std::string_view content, size_t startLine) |
| bool | empty () const |
| LineIterator | begin () const |
| std::string | toString () const |
| Get all content as a single concatenated string (for backward compatibility). | |
Holds all segments of a section and provides line-aware iteration This is used internally to track line numbers across potentially duplicate sections.
|
inline |
Definition at line 27 of file utility.h.
Referenced by momentum::parseParameterSets(), momentum::parseParameterTransform(), and momentum::parsePoseConstraints().
|
inlinenodiscard |
Definition at line 54 of file utility.h.
Referenced by momentum::parseParameterSets(), momentum::parseParameterTransform(), and momentum::parsePoseConstraints().
|
inlinenodiscard |
|
nodiscard |
Get all content as a single concatenated string (for backward compatibility).
Definition at line 45 of file utility.cpp.