OpendTect-6_4  6.4
Macros
i_datainterp.h File Reference

Go to the source code of this file.

Macros

#define mDICB(fntyp, fn)   ((DataInterpreter<mTheType>::fntyp)(&DataInterpreter<mTheType>::fn))
 
#define mDefGetPut(fnnm)
 
#define mDefGetPutNoSwap(fnnm)   { getfn = mDICB(GetFn,get##fnnm); putfn = mDICB(PutFn,put##fnnm); }
 
#define mSet(nb, isint, frmt, iss, swpd)
 
#define mDoChgSwp(typ)
 

Macro Definition Documentation

#define mDefGetPut (   fnnm)
Value:
{ \
getfn = needswap ? mDICB(GetFn,get##fnnm##swp) : mDICB(GetFn,get##fnnm); \
putfn = needswap ? mDICB(PutFn,put##fnnm##swp) : mDICB(PutFn,put##fnnm); \
}
#define mDICB(fntyp, fn)
Definition: i_datainterp.h:18
#define mDefGetPutNoSwap (   fnnm)    { getfn = mDICB(GetFn,get##fnnm); putfn = mDICB(PutFn,put##fnnm); }
#define mDICB (   fntyp,
  fn 
)    ((DataInterpreter<mTheType>::fntyp)(&DataInterpreter<mTheType>::fn))
#define mDoChgSwp (   typ)
Value:
if ( getfn == &DataInterpreter<mTheType>::get##typ ) \
{ \
getfn = &DataInterpreter<mTheType>::get##typ##swp; \
putfn = &DataInterpreter<mTheType>::put##typ##swp; \
} \
else if ( getfn == &DataInterpreter<mTheType>::get##typ##swp ) \
{ \
}
Byte-level data interpreter.
Definition: cbvswriter.h:22
#define mSet (   nb,
  isint,
  frmt,
  iss,
  swpd 
)
Value:
DataCharacteristics::frmt, __islittle__ != swpd );
ByteCount
Definition: bindatadesc.h:47
#define __islittle__
Definition: plfdefs.h:136
byte-level data characteristics of stored data.
Definition: datachar.h:37

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