Isis Developer Reference
Environment.h
Go to the documentation of this file.
1
#ifndef Environment_h
2
#define Environment_h
3
9
/* SPDX-License-Identifier: CC0-1.0 */
10
11
class
QString;
12
13
namespace
Isis
{
14
36
class
Environment
{
37
public
:
38
~Environment
() {}
39
40
static
QString
userName
();
41
static
QString
hostName
();
42
static
QString
isisVersion
();
43
44
static
QString
getEnvironmentValue
(QString, QString);
45
protected
:
46
Environment
();
47
48
49
private
:
55
static
Environment
automaticEnvironmentSetup;
56
};
57
}
58
59
#endif
Q_COREAPP_STARTUP_FUNCTION
Q_COREAPP_STARTUP_FUNCTION(QStartup)
Isis::Environment::userName
static QString userName()
@Returns the user name.
Definition:
Environment.cpp:72
Isis::Environment
Definition:
Environment.h:36
Isis::Environment::~Environment
~Environment()
Definition:
Environment.h:38
Isis::TextFile
Provides access to sequential ASCII stream I/O.
Definition:
TextFile.h:38
Isis::Environment::getEnvironmentValue
static QString getEnvironmentValue(QString, QString)
Definition:
Environment.cpp:92
Isis::TextFile::GetLine
bool GetLine(QString &line, const bool skipComments=true)
Gets next line from file.
Definition:
TextFile.cpp:411
QStringList
IString.h
Isis::Environment::hostName
static QString hostName()
Definition:
Environment.cpp:80
Isis::Environment::Environment
Environment()
Definition:
Environment.cpp:45
_FILEINFO_
#define _FILEINFO_
Macro for the filename and line number.
Definition:
IException.h:24
TextFile.h
QStartup
static void QStartup()
This is free and unencumbered software released into the public domain.
Definition:
Environment.cpp:24
Isis::IException
Isis exception class.
Definition:
IException.h:91
Environment.h
IException.h
Isis::IException::Programmer
@ Programmer
This error is for when a programmer made an API call that was illegal.
Definition:
IException.h:146
Isis::IString
Adds specific functionality to C++ strings.
Definition:
IString.h:165
Isis::Environment::isisVersion
static QString isisVersion()
Definition:
Environment.cpp:108
Isis
This is free and unencumbered software released into the public domain.
Definition:
Apollo.h:16
Isis::IString::ToQt
QString ToQt() const
Retuns the object string as a QString.
Definition:
IString.cpp:869
home
isis3mgr
repos
ISIS3
isis
src
base
objs
Environment
Environment.h