iLand
Functions | Variables
globalsettings.cpp File Reference
#include "globalsettings.h"
#include <QtCore>
#include <QtXml>
#include <QtSql>
#include <QJSEngine>
#include <algorithm>
#include "global.h"
#include "helper.h"
#include "xmlhelper.h"
#include "stdint.h"
#include "settingmetadata.h"
#include "standstatistics.h"
#include "scriptglobal.h"
#include "outputmanager.h"

Functions

void dbg_helper (const char *where, const char *what, const char *file, int line)
 
void dbg_helper_ext (const char *where, const char *what, const char *file, int line, const QString &s)
 
bool logLevelDebug ()
 
bool logLevelInfo ()
 
bool logLevelWarning ()
 
void setLogLevel (int loglevel)
 
bool debuglist_sorter (const DebugList *i, const DebugList *j)
 
QString childText (QDomElement &elem, const QString &name, const QString &def="")
 

Variables

const QStringList debug_output_names =QStringList() << "treeNPP" << "treePartition" << "treeGrowth" << "waterCycle" << "dailyResponse" << "establishment" << "carbonCycle" << "performance"
 returns the name attached to 'd' or an empty string if not found More...
 

Function Documentation

◆ childText()

QString childText ( QDomElement &  elem,
const QString &  name,
const QString &  def = "" 
)

◆ dbg_helper()

void dbg_helper ( const char *  where,
const char *  what,
const char *  file,
int  line 
)

◆ dbg_helper_ext()

void dbg_helper_ext ( const char *  where,
const char *  what,
const char *  file,
int  line,
const QString &  s 
)

◆ debuglist_sorter()

bool debuglist_sorter ( const DebugList i,
const DebugList j 
)

◆ logLevelDebug()

bool logLevelDebug ( )

◆ logLevelInfo()

bool logLevelInfo ( )

◆ logLevelWarning()

bool logLevelWarning ( )

◆ setLogLevel()

void setLogLevel ( int  loglevel)

Variable Documentation

◆ debug_output_names

const QStringList debug_output_names =QStringList() << "treeNPP" << "treePartition" << "treeGrowth" << "waterCycle" << "dailyResponse" << "establishment" << "carbonCycle" << "performance"

returns the name attached to 'd' or an empty string if not found