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>
Public Member Functions | |
| InputLine () | |
| void | setToString (const std::string &s) |
| Initialize the input line to the passed string. More... | |
| void | updatePosition () |
| Save current position of the stream. More... | |
| void | seekGToSavedPosition () |
| Resets the stream to the last saved position. More... | |
| bool | ok () const |
Public Attributes | |
| std::stringstream | line_ |
| std::ios::pos_type | line_position_ |
Stores information about the current input line (i.e., stream for the line and the current position in the stream)
|
inline |
|
inline |
Convert to bool
The function indicates success when none of the error flags (either failbit or badbit of the nested std::stringstream) are set.
|
inline |
Resets the stream to the last saved position.
Referenced by FuzzyStringComparator::StreamElement_::fillFromInputLine().
|
inline |
Initialize the input line to the passed string.
|
inline |
Save current position of the stream.
Referenced by FuzzyStringComparator::StreamElement_::fillFromInputLine().
| std::stringstream line_ |
Referenced by FuzzyStringComparator::StreamElement_::fillFromInputLine().
| std::ios::pos_type line_position_ |
Referenced by FuzzyStringComparator::PrefixInfo_::PrefixInfo_().
| OpenMS / TOPP release 1.11.1 | Documentation generated on Thu Nov 14 2013 11:19:28 using doxygen 1.8.5 |