 |
OpendTect
6.6
|
Go to the documentation of this file.
38 Platform(
bool iswin,
bool is32,
bool ismac=
false )
39 {
set(iswin,is32,ismac); }
41 {
return type_ == p.
type_; }
43 {
return type_ == t; }
50 void set(
const char*,
bool isshortnm);
51 inline void set(
bool iswin,
bool is32,
bool ismac=
false )
52 { type_ = ismac ? Mac : (iswin ? (is32 ? Win32 : Win64)
56 {
return type_ == Win32 || type_ == Win64; }
58 {
return type_ == Lin64; }
60 {
return type_ == Mac; }
63 {
return type_ != Win64 && type_ != Lin64; }
78 #define mPlf(ptyp) OD::Platform(OD::Platform::ptyp)
79 #define mPlfShortName(ptyp) mPlf(ptyp).shortName()
OpendTect.
Definition: commontypes.h:28
#define mExpClass(module)
Definition: commondefs.h:177
#define mDeclareEnumUtils(enm)
Some utilities surrounding the often needed enum <-> string table.
Definition: enums.h:257
bool operator==(const ArrayNDInfo &a1, const ArrayNDInfo &a2)
Definition: arrayndinfo.h:81
void set(T &_to, const F &fr)
template based type conversion
Definition: convert.h:27
Export_Basic const char * toString(PythonSource)
Generated at
for the OpendTect
seismic interpretation project.
Copyright (C): dGB Beheer B.V. 1995-2021