Stores information about the current input line (i.e., stream for the line and the current position in the stream)
More...
#include <OpenMS/CONCEPT/FuzzyStringComparator.h>
Stores information about the current input line (i.e., stream for the line and the current position in the stream)
◆ InputLine()
◆ ok()
Convert to bool.
The function indicates success when none of the error flags (either failbit or badbit of the nested std::stringstream) are set.
- Returns
- False on error, true otherwise.
◆ seekGToSavedPosition()
| void seekGToSavedPosition |
( |
| ) |
|
Resets the stream to the last saved position.
◆ setToString()
| void setToString |
( |
const std::string & |
s | ) |
|
Initialize the input line to the passed string.
◆ updatePosition()
Save current position of the stream.
◆ line_
◆ line_position_
| std::ios::pos_type line_position_ |