OPeNDAP Hyrax Back End Server (BES)  Updated for version 3.8.3
HDFCFUtil.cc File Reference
#include "HDFCFUtil.h"
#include <BESDebug.h>
#include <BESLog.h>
#include <math.h>
Include dependency graph for HDFCFUtil.cc:

Go to the source code of this file.

Macros

#define GET_INTERCEPT(TYPE, CAST)
 
#define GET_INTERCEPT(TYPE, CAST)
 
#define GET_SLOPE(TYPE, CAST)
 
#define GET_SLOPE(TYPE, CAST)
 
#define SIGNED_BYTE_TO_INT32   1
 

Macro Definition Documentation

#define GET_INTERCEPT (   TYPE,
  CAST 
)
Value:
case DFNT_##TYPE: \
{ \
CAST tmpvalue = *(CAST*)&((*i)->getValue()[0]); \
intercept = (float)tmpvalue; \
} \
break;

Referenced by HDFCFUtil::add_obpg_special_attrs(), and HDFCFUtil::check_obpg_global_attrs().

#define GET_INTERCEPT (   TYPE,
  CAST 
)
Value:
case DFNT_##TYPE: \
{ \
CAST tmpvalue = *(CAST*)&((*i)->getValue()[0]); \
intercept = (float)tmpvalue; \
} \
break;
#define GET_SLOPE (   TYPE,
  CAST 
)
Value:
case DFNT_##TYPE: \
{ \
CAST tmpvalue = *(CAST*)&((*i)->getValue()[0]); \
slope = (float)tmpvalue; \
} \
break;

Referenced by HDFCFUtil::add_obpg_special_attrs(), and HDFCFUtil::check_obpg_global_attrs().

#define GET_SLOPE (   TYPE,
  CAST 
)
Value:
case DFNT_##TYPE: \
{ \
CAST tmpvalue = *(CAST*)&((*i)->getValue()[0]); \
slope = (float)tmpvalue; \
} \
break;
#define SIGNED_BYTE_TO_INT32   1

Definition at line 6 of file HDFCFUtil.cc.