106 dynamic_cast<BaseType &
>(*this) = rhs;
157 "The incoming pointer does not contain any data.");
170 throw InternalErr(__FILE__, __LINE__,
"NULL pointer.");
200 fwrite(oss.str().data(),
sizeof(char), oss.str().length(), out);
208 out <<
" = " << (
unsigned int)
d_buf <<
";\n" ;
211 out << (
unsigned int)
d_buf ;
224 throw InternalErr(__FILE__, __LINE__,
"This value was not read!");
234 throw InternalErr(__FILE__, __LINE__,
"This value was not read!");
239 return USCmp<dods_uint16, dods_int8>(op,
d_buf,
static_cast<Int8*
>(b)->
value());
241 return Cmp<dods_uint16, dods_byte>(op,
d_buf,
static_cast<Byte*
>(b)->
value());
243 return USCmp<dods_uint16, dods_int16>(op,
d_buf,
static_cast<Int16*
>(b)->
value());
245 return Cmp<dods_uint16, dods_uint16>(op,
d_buf,
static_cast<UInt16*
>(b)->
value());
247 return USCmp<dods_uint16, dods_int32>(op,
d_buf,
static_cast<Int32*
>(b)->
value());
249 return Cmp<dods_uint16, dods_uint32>(op,
d_buf,
static_cast<UInt32*
>(b)->
value());
251 return USCmp<dods_uint16, dods_int64>(op,
d_buf,
static_cast<Int64*
>(b)->
value());
253 return Cmp<dods_uint16, dods_uint64>(op,
d_buf,
static_cast<UInt64*
>(b)->
value());
255 return USCmp<dods_uint16, dods_float32>(op,
d_buf,
static_cast<Float32*
>(b)->
value());
257 return USCmp<dods_uint16, dods_float64>(op,
d_buf,
static_cast<Float64*
>(b)->
value());
275 << (
void *)
this <<
")" << endl ;
virtual bool read()
Read data into a local buffer.
Holds a 16-bit signed integer value.
Holds a64-bit signed integer.
virtual bool read_p()
Has this variable been read?
abstract base class used to unmarshall/deserialize dap data objects
virtual void print_decl(FILE *out, string space=" ", bool print_semi=true, bool constraint_info=false, bool constrained=false)
Print an ASCII representation of the variable structure.
virtual void dump(ostream &strm) const
dumps information about this object
Holds an unsigned 16-bit integer.
virtual dods_uint16 value() const
Type type() const
Returns the type of the class instance.
Holds a 32-bit floating point value.
A class for software fault reporting.
string dataset() const
Returns the name of the dataset used to create this instance.
bool eval_selection(DDS &dds, const string &dataset)
Evaluate a boolean-valued constraint expression. This is main method for the evaluator ans is called ...
UInt16 & operator=(const UInt16 &rhs)
Holds a 16-bit signed integer value.
virtual void put_uint16(dods_uint16 val)=0
virtual void dump(ostream &strm) const
dumps information about this object
virtual void set_read_p(bool state)
Sets the value of the read_p property.
virtual bool ops(BaseType *b, int op)
Evaluate relational operators.
Holds a 64-bit unsigned integer.
virtual bool deserialize(UnMarshaller &um, DDS *dds, bool reuse=false)
Receive data from the net.
Evaluate a constraint expression.
virtual unsigned int width(bool constrained=false)
static ostream & LMarg(ostream &strm)
The basic data type for the DODS DAP types.
abstract base class used to marshal/serialize dap data objects
Holds a 64-bit (double precision) floating point value.
virtual unsigned int buf2val(void **val)
Reads the class data.
virtual void print_val(FILE *out, string space="", bool print_decl_p=true)
Prints the value of the variable.
virtual bool set_value(dods_uint16 val)
virtual bool serialize(ConstraintEvaluator &eval, DDS &dds, Marshaller &m, bool ce_eval=true)
Move data to the net.
Holds a 32-bit unsigned integer.
virtual unsigned int val2buf(void *val, bool reuse=false)
Loads class data.
Holds a 32-bit signed integer.
virtual void get_uint16(dods_uint16 &val)=0
virtual BaseType * ptr_duplicate()