libpappsomspp
Library for mass spectrometry
Loading...
Searching...
No Matches
utils.h
Go to the documentation of this file.
1
2/**
3 * \file pappsomspp/masschroq/utils.h
4 * \date 03/01/2025
5 * \author Olivier Langella
6 * \brief MassChroQ Lite utilities
7 */
8
9/*******************************************************************************
10 * Copyright (c) 2025 Olivier Langella
11 *<Olivier.Langella@universite-paris-saclay.fr>.
12 *
13 * This file is part of MassChroQ.
14 *
15 * MassChroQ is free software: you can redistribute it and/or modify
16 * it under the terms of the GNU General Public License as published by
17 * the Free Software Foundation, either version 3 of the License, or
18 * (at your option) any later version.
19 *
20 * MassChroQ is distributed in the hope that it will be useful,
21 * but WITHOUT ANY WARRANTY; without even the implied warranty of
22 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23 * GNU General Public License for more details.
24 *
25 * You should have received a copy of the GNU General Public License
26 * along with MassChroQ. If not, see <http://www.gnu.org/licenses/>.
27 *
28 ******************************************************************************/
29
30
31#pragma once
32
33#include <QString>
34#include "types.h"
37
38namespace pappso::masschroq
39{
40/**
41 * @todo write docs
42 */
44{
45 public:
46 static QString getVersion();
47 /** @brief Convenience function to return a string describing the specglob
48 alingment type
49 * @return QString
50 */
51
52 static QString enumToString(PeakQualityCategory peak_category);
53 static QString enumToString(Enums::XicExtractMethod extract_method);
54 static QString enumToString(Enums::PrecisionUnit precision_unit);
55};
56
57} // namespace pappso::masschroq
static QString getVersion()
Definition utils.cpp:37
static QString enumToString(PeakQualityCategory peak_category)
Convenience function to return a string describing the specglob alingment type.
Definition utils.cpp:44
#define PMSPP_LIB_DECL