OpendTect-6_4  6.4
envvars.h
Go to the documentation of this file.
1 #ifndef envvars_h
2 #define envvars_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: A.H. Bril
9  Date: Aug 2005
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #ifndef gendefs_h
16 #include "basicmod.h"
17 #include "gendefs.h"
18 #endif
19 
20 class BufferStringSet;
21 
22 
23 mGlobal(Basic) const char* GetEnvVar(const char*);
30 mGlobal(Basic) bool GetEnvVarDirList(const char*,BufferStringSet&,
31  bool checkdirs);
33 mGlobal(Basic) bool GetEnvVarYN(const char*,bool defltval=false);
36 mGlobal(Basic) int GetEnvVarIVal(const char*,int defltval);
37 mGlobal(Basic) double GetEnvVarDVal(const char*,double defltval);
38 mGlobal(Basic) float GetEnvVarFVal(const char*,float defltval);
39 mGlobal(Basic) void UnsetOSEnvVar(const char*);
40 mGlobal(Basic) const char* GetOSEnvVar(const char*);
45 mGlobal(Basic) void SetEnvVar(const char* env,const char* val);
47 mGlobal(Basic) void SetEnvVarDirList(const char* env,const BufferStringSet&,
48  bool appendnoerase);
49 mGlobal(Basic) bool WriteEnvVar(const char* env,const char* val);
52 mGlobal(Basic) const char* GetEnvVarDirListWoOD(const char* ky,
53  const char* filt=0);
57 #endif
bool WriteEnvVar(const char *env, const char *val)
void SetEnvVar(const char *env, const char *val)
#define mGlobal(module)
Definition: commondefs.h:163
const char * GetOSEnvVar(const char *)
void SetEnvVarDirList(const char *env, const BufferStringSet &, bool appendnoerase)
const char * GetEnvVar(const char *)
Set of BufferString objects.
Definition: bufstringset.h:28
double GetEnvVarDVal(const char *, double defltval)
float GetEnvVarFVal(const char *, float defltval)
bool GetEnvVarYN(const char *, bool defltval=false)
void UnsetOSEnvVar(const char *)
bool GetEnvVarDirList(const char *, BufferStringSet &, bool checkdirs)
int GetEnvVarIVal(const char *, int defltval)
const char * GetEnvVarDirListWoOD(const char *ky, const char *filt=0)

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