96 return new Int16(*
this);
105 dynamic_cast<BaseType &
>(*this) = rhs;
156 "The incoming pointer does not contain any data.");
169 throw InternalErr(__FILE__, __LINE__,
"NULL pointer.");
199 fwrite(oss.str().data(),
sizeof(char), oss.str().length(), out);
207 out <<
" = " <<
d_buf <<
";\n" ;
224 throw InternalErr(__FILE__, __LINE__,
"This value not read!");
234 throw InternalErr(__FILE__, __LINE__,
"This value not read!");
239 return Cmp<dods_int16, dods_int8>(op,
d_buf,
static_cast<Int8*
>(b)->
value());
241 return SUCmp<dods_int16, dods_byte>(op,
d_buf,
static_cast<Byte*
>(b)->
value());
243 return Cmp<dods_int16, dods_int16>(op,
d_buf,
static_cast<Int16*
>(b)->
value());
245 return SUCmp<dods_int16, dods_uint16>(op,
d_buf,
static_cast<UInt16*
>(b)->
value());
247 return Cmp<dods_int16, dods_int32>(op,
d_buf,
static_cast<Int32*
>(b)->
value());
249 return SUCmp<dods_int16, dods_uint32>(op,
d_buf,
static_cast<UInt32*
>(b)->
value());
251 return Cmp<dods_int16, dods_int64>(op,
d_buf,
static_cast<Int64*
>(b)->
value());
253 return SUCmp<dods_int16, dods_uint64>(op,
d_buf,
static_cast<UInt64*
>(b)->
value());
255 return Cmp<dods_int16, dods_float32>(op,
d_buf,
static_cast<Float32*
>(b)->
value());
257 return Cmp<dods_int16, dods_float64>(op,
d_buf,
static_cast<Float64*
>(b)->
value());
275 << (
void *)
this <<
")" << endl ;