OpenMS  2.7.0
Classes | Namespaces | Functions
FuzzyStringComparator.h File Reference
#include <OpenMS/CONCEPT/Types.h>
#include <OpenMS/DATASTRUCTURES/String.h>
#include <OpenMS/DATASTRUCTURES/ListUtils.h>
#include <map>
#include <sstream>
Include dependency graph for FuzzyStringComparator.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  FuzzyStringComparator
 Fuzzy comparison of strings, tolerates numeric differences. More...
 
struct  FuzzyStringComparator::AbortComparison
 Internal exception class. More...
 
struct  FuzzyStringComparator::InputLine
 Stores information about the current input line (i.e., stream for the line and the current position in the stream) More...
 
struct  FuzzyStringComparator::StreamElement_
 Stores information about characters, numbers, and white spaces loaded from the InputStream. More...
 
struct  FuzzyStringComparator::PrefixInfo_
 Wrapper for the prefix information computed for the failure report. More...
 

Namespaces

 OpenMS
 Main OpenMS namespace.
 
 OpenMS::Internal
 Namespace used to hide implementation details from users.
 
 OpenMS::Internal::ClassTest
 Namespace for class tests.
 

Functions

void testStringSimilar (const char *file, int line, const std::string &string_1, const char *string_1_stringified, const std::string &string_2, const char *string_2_stringified)
 Compare strings using absdiff_max_allowed and ratio_max_allowed. More...
 
bool isFileSimilar (const std::string &filename_1, const std::string &filename_2)
 Compare files using absdiff_max_allowed and ratio_max_allowed. More...
 

Class Documentation

◆ OpenMS::FuzzyStringComparator::AbortComparison

struct OpenMS::FuzzyStringComparator::AbortComparison

Internal exception class.