OpenMS
Loading...
Searching...
No Matches
SystemSettings.h
Go to the documentation of this file.
1// Copyright (c) 2002-present, OpenMS Inc. -- EKU Tuebingen, ETH Zurich, and FU Berlin
2// SPDX-License-Identifier: BSD-3-Clause
3//
4// --------------------------------------------------------------------------
5// $Maintainer: Chris Bielow $
6// $Authors: Andreas Bertsch, Chris Bielow, Marc Sturm $
7// --------------------------------------------------------------------------
8
9#pragma once
10
11#include <OpenMS/config.h>
12
13#include <string>
14
15namespace OpenMS
16{
17 class Param;
18
31 class OPENMS_DLLAPI SystemSettings
32 {
33public:
35 static std::string getOpenMSHomePath();
36
43 static std::string getOpenMSConfigDir();
44
51 static std::string getTempDirectory();
52
58 static std::string getUserDirectory();
59
65
69 static std::string findDatabase(const std::string& db_name);
70
71private:
74 };
75}
Management and storage of parameters / INI files.
Definition Param.h:46
Per-user OpenMS configuration: the OpenMS.ini system parameters and the home, temporary and database ...
Definition SystemSettings.h:32
static std::string getOpenMSConfigDir()
Returns the per-user OpenMS configuration directory (the directory that holds OpenMS....
static std::string getUserDirectory()
static Param getSystemParameterDefaults_()
get defaults for the system's Temp-path, user home directory etc.
static std::string findDatabase(const std::string &db_name)
static std::string getTempDirectory()
static std::string getOpenMSHomePath()
Returns the OpenMS home path (environment variable overwrites the default home path)
static Param getSystemParameters()
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19