53 static QString getVersion();
71 static const QString getLexicalOrderedString(
unsigned int num);
72 static void writeLexicalOrderedString(QTextStream *p_out,
unsigned int num);
76 static long long int roundToDecimal32bitsAsLongLongInt(
pappso_double input);
78 static std::string toUtf8StandardString(
const QString &text);
80 static bool writeToFile(
const QString &text,
const QString &file_name);
81 static bool appendToFile(
const QString &text,
const QString &file_name);
82 static std::size_t extractScanNumberFromMzmlNativeId(
const QString &spectrum_native_id);
84 static QString pointerToString(
const void *
const pointer);
86 static bool almostEqual(
double value1,
double value2,
int decimalPlaces = 10);
88 static double nearestGreater(
double value);
90 static QString chronoTimePointDebugString(
92 std::chrono::system_clock::time_point chrono_time = std::chrono::system_clock::now());
94 static QString chronoIntervalDebugString(
96 std::chrono::system_clock::time_point chrono_start,
97 std::chrono::system_clock::time_point chrono_finish = std::chrono::system_clock::now());
99 static std::vector<double> splitMzStringToDoubleVectorWithSpaces(
const QString &text,
100 std::size_t &error_count);
102 static std::vector<std::size_t> splitSizetStringToSizetVectorWithSpaces(
const QString &text,
103 std::size_t &error_count);
109 static QString booleanToString(
bool value);
146 static AaModificationP translateAaModificationFromUnimod(
const QString &unimod_accession);