20 #ifndef QGSSERVERSETTINGS_H 21 #define QGSSERVERSETTINGS_H 27 #include "qgis_server.h" 63 QGIS_SERVER_CACHE_SIZE
103 bool load(
const QString &envVarName );
108 void logSummary()
const;
114 QString iniFile()
const;
120 bool parallelRendering()
const;
126 int maxThreads()
const;
132 int maxCacheLayers()
const;
144 QString projectFile()
const;
150 QString logFile()
const;
157 bool logStderr()
const;
163 qint64 cacheSize()
const;
169 QString cacheDirectory()
const;
174 QMap<QgsServerSettingsEnv::EnvVar, QString> getEnv()
const;
175 void loadQSettings(
const QString &envOptPath )
const;
176 void prioritize(
const QMap<QgsServerSettingsEnv::EnvVar, QString> &env );
178 QMap< QgsServerSettingsEnv::EnvVar, Setting > mSettings;
Source
Source of the parameter used in the configuration.
Provides a way to retrieve settings by prioritizing according to environment variables, ini file and default values.
MessageLevel
Level for messages This will be used both for message log and message bar in application.
Provides some enum describing the environment currently supported for configuration.
QgsServerSettingsEnv::EnvVar envVar
QgsServerSettingsEnv::Source src
EnvVar
Environment variables to configure the server.