OpendTect  6.3
envvars.h
Go to the documentation of this file.
1 #pragma once
2 
3 /*+
4 ________________________________________________________________________
5 
6  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
7  Author: A.H. Bril
8  Date: Aug 2005
9 ________________________________________________________________________
10 
11 -*/
12 
13 #ifndef gendefs_h
14 #include "basicmod.h"
15 #include "gendefs.h"
16 #endif
17 
18 mGlobal(Basic) const char* GetEnvVar(const char*);
25 mGlobal(Basic) bool GetEnvVarYN(const char*,bool defltval=false);
28 mGlobal(Basic) int GetEnvVarIVal(const char*,int defltval);
29 mGlobal(Basic) double GetEnvVarDVal(const char*,double defltval);
30 mGlobal(Basic) float GetEnvVarFVal(const char*,float defltval);
31 mGlobal(Basic) void UnsetOSEnvVar(const char*);
32 mGlobal(Basic) const char* GetOSEnvVar(const char*);
37 mGlobal(Basic) void SetEnvVar(const char* env,const char* val);
39 mGlobal(Basic) bool WriteEnvVar(const char* env,const char* val);
bool WriteEnvVar(const char *env, const char *val)
void SetEnvVar(const char *env, const char *val)
#define mGlobal(module)
Definition: commondefs.h:160
const char * GetOSEnvVar(const char *)
const char * GetEnvVar(const char *)
double GetEnvVarDVal(const char *, double defltval)
float GetEnvVarFVal(const char *, float defltval)
bool GetEnvVarYN(const char *, bool defltval=false)
void UnsetOSEnvVar(const char *)
int GetEnvVarIVal(const char *, int defltval)

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2017