OpenMS  2.8.0
Public Member Functions | Public Attributes | List of all members
FuzzyStringComparator::StreamElement_ Struct Reference

Stores information about characters, numbers, and white spaces loaded from the InputStream. More...

#include <OpenMS/CONCEPT/FuzzyStringComparator.h>

Collaboration diagram for FuzzyStringComparator::StreamElement_:
[legend]

Public Member Functions

 StreamElement_ ()
 
void reset ()
 reset all elements of the element to default value More...
 
void fillFromInputLine (InputLine &input_line, const std::string &str_line)
 

Public Attributes

double number
 
unsigned char letter
 
bool is_number
 
bool is_space
 

Detailed Description

Stores information about characters, numbers, and white spaces loaded from the InputStream.

Constructor & Destructor Documentation

◆ StreamElement_()

Member Function Documentation

◆ fillFromInputLine()

void fillFromInputLine ( InputLine input_line,
const std::string &  str_line 
)

Read the next element from an InputLine and update the InputLine accordingly The str_line contains the same data as the stream, since it saves some forth-and-back conversion internally TODO: avoid streams all together (slow, and no random access, required by boost::qi) at some point

◆ reset()

void reset ( )

reset all elements of the element to default value

Member Data Documentation

◆ is_number

bool is_number

◆ is_space

bool is_space

◆ letter

unsigned char letter

◆ number

double number