48 #define SIGNED_BYTE_TO_INT32 1
60 #ifdef SIGNED_BYTE_TO_INT32
83 #ifndef SIGNED_BYTE_TO_INT32
110 int16 *temp =
new int16;
112 return (
void *) temp;
115 #ifdef SIGNED_BYTE_TO_INT32
119 int32 *temp =
new int32;
121 return (
void *) temp;
125 uint16 *temp =
new uint16;
127 return (
void *) temp;
131 uint32 *temp =
new uint32;
133 return (
void *) temp;
137 float32 *temp =
new float32;
139 return (
void *) temp;
143 float64 *temp =
new float64;
145 return (
void *) temp;
148 #ifndef SIGNED_BYTE_TO_INT32
154 uint8 *temp =
new uint8;
156 return (
void *) temp;
178 void *AccessDataForDODS(
const hdf_genvec & v,
int i)
184 *(static_cast < int16 * >(rv)) = v.
elt_int16(i);
187 #ifdef SIGNED_BYTE_TO_INT32
191 *(static_cast < int32 * >(rv)) = v.
elt_int32(i);
195 *(static_cast < uint16 * >(rv)) = v.
elt_uint16(i);
199 *(static_cast < uint32 * >(rv)) = v.
elt_uint32(i);
203 *(static_cast < float32 * >(rv)) = v.
elt_float32(i);
207 *(static_cast < float64 * >(rv)) = v.
elt_float64(i);
210 #ifndef SIGNED_BYTE_TO_INT32
216 *(static_cast < uchar8 * >(rv)) = v.
elt_uint8(i);
uint16 elt_uint16(int i) const
float64 * export_float64(void) const
int16 * export_int16(void) const
uint16 * export_uint16(void) const
uint8 elt_uint8(int i) const
int32 elt_int32(int i) const
int32 * export_int32(void) const
float64 elt_float64(int i) const
int32 number_type(void) const
uint8 * export_uint8(void) const
int16 elt_int16(int i) const
void * ExportDataForDODS(const hdf_genvec &v)
uint32 * export_uint32(void) const
float32 * export_float32(void) const
uint32 elt_uint32(int i) const
float32 elt_float32(int i) const