Loading...
Searching...
No Matches
utils.h
Go to the documentation of this file.
/**
* \file pappsomspp/masschroq/utils.h
* \date 03/01/2025
* \author Olivier Langella
* \brief MassChroQ Lite utilities
*/
/*******************************************************************************
* Copyright (c) 2025 Olivier Langella
*<Olivier.Langella@universite-paris-saclay.fr>.
*
* This file is part of MassChroQ.
*
* MassChroQ is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* MassChroQ is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with MassChroQ. If not, see <http://www.gnu.org/licenses/>.
*
******************************************************************************/
#pragma once
#include <QString>
#include "types.h"
#include "pappsomspp/core/types.h"
#include "pappsomspp/export-import-config.h"
namespace pappso::masschroq
{
/**
* @todo write docs
*/
class PMSPP_LIB_DECL Utils
{
public:
static QString getVersion();
/** @brief Convenience function to return a string describing the specglob
alingment type
* @return QString
*/
static QString enumToString(PeakQualityCategory peak_category);
static QString enumToString(Enums::XicExtractMethod extract_method);
static QString enumToString(Enums::PrecisionUnit precision_unit);
};
} // 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:96
pappso::masschroq
Definition alignmentmethod.h:38
pappso::masschroq::PeakQualityCategory
PeakQualityCategory
Definition types.h:42
types.h