Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages
Public Member Functions | Public Attributes

FuzzyStringComparator::InputLine Struct Reference

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>

List of all members.

Public Member Functions

 InputLine ()
void setToString (const std::string &s)
 Initialize the input line to the passed string.
void updatePosition ()
 Save current position of the stream.
void seekGToSavedPosition ()
 Resets the stream to the last saved position.
 operator void * () const

Public Attributes

std::stringstream line_
std::ios::pos_type line_position_

Detailed Description

Stores information about the current input line (i.e., stream for the line and the current position in the stream).


Constructor & Destructor Documentation

InputLine (  )  [inline]

Member Function Documentation

operator void * (  )  const [inline]

Convert to pointer

The pointer returned is not intended to be referenced, it just indicates success when none of the error flags are set.

Returns:
null pointer if either failbit or badbit of the nested std::stringstream is set. A non-null pointer otherwise.
void seekGToSavedPosition (  )  [inline]

Resets the stream to the last saved position.

Referenced by FuzzyStringComparator::StreamElement_::fillFromInputLine().

void setToString ( const std::string &  s  )  [inline]

Initialize the input line to the passed string.

void updatePosition (  )  [inline]

Save current position of the stream.

Referenced by FuzzyStringComparator::StreamElement_::fillFromInputLine().


Member Data Documentation

std::stringstream line_
std::ios::pos_type line_position_

OpenMS / TOPP release 1.10.0 Documentation generated on Thu Mar 7 2013 09:42:51 using doxygen 1.7.1