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
"
35
#include "
pappsomspp/core/types.h
"
36
#include "
pappsomspp/export-import-config.h
"
37
38
namespace
pappso::masschroq
39
{
40
/**
41
* @todo write docs
42
*/
43
class
PMSPP_LIB_DECL
Utils
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
pappso::masschroq::Utils
Definition
utils.h:44
pappso::masschroq::Utils::getVersion
static QString getVersion()
Definition
utils.cpp:37
pappso::masschroq::Utils::enumToString
static QString enumToString(PeakQualityCategory peak_category)
Convenience function to return a string describing the specglob alingment type.
Definition
utils.cpp:44
export-import-config.h
PMSPP_LIB_DECL
#define PMSPP_LIB_DECL
Definition
export-import-config.h:14
types.h
pappso::Enums::XicExtractMethod
XicExtractMethod
Definition
types.h:278
pappso::Enums::PrecisionUnit
PrecisionUnit
Definition
types.h:98
pappso::masschroq
Definition
alignmentmethod.h:38
pappso::masschroq::PeakQualityCategory
PeakQualityCategory
Definition
types.h:42
types.h
pappsomspp
core
masschroq
utils.h
Generated on Tue Sep 23 2025 09:36:35 for libpappsomspp by
1.13.2