40 {
"$Id: UInt16.cc 21699 2009-11-05 00:06:01Z jimg $" 106 dynamic_cast<BaseType &
>(*this) = rhs;
157 "The incoming pointer does not contain any data.");
170 throw InternalErr(__FILE__, __LINE__,
"NULL pointer.");
201 fprintf(out,
" = %u;\n", (
unsigned int)
_buf) ;
204 fprintf(out,
"%u", (
unsigned int)
_buf) ;
213 out <<
" = " << (
unsigned int)
_buf <<
";\n" ;
216 out << (
unsigned int)
_buf ;
229 throw InternalErr(__FILE__, __LINE__,
"This value was not read!");
239 throw InternalErr(__FILE__, __LINE__,
"This value was not read!");
244 return rops<dods_uint16, dods_byte, Cmp<dods_uint16, dods_byte> >
245 (
_buf,
dynamic_cast<Byte *
>(b)->_buf, op);
247 return rops<dods_uint16, dods_int16, USCmp<dods_uint16, dods_int16> >
248 (
_buf,
dynamic_cast<Int16 *
>(b)->_buf, op);
250 return rops<dods_uint16, dods_uint16, Cmp<dods_uint16, dods_uint16> >
253 return rops<dods_uint16, dods_int32, USCmp<dods_uint16, dods_int32> >
254 (
_buf,
dynamic_cast<Int32 *
>(b)->_buf, op);
256 return rops<dods_uint16, dods_uint32, Cmp<dods_uint16, dods_uint32> >
259 return rops<dods_uint16, dods_float32, Cmp<dods_uint16, dods_float32> >
262 return rops<dods_uint16, dods_float64, Cmp<dods_uint16, dods_float64> >
281 << (
void *)
this <<
")" << endl ;
virtual bool read()
Read data into a local buffer.
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.
Holds a 32-bit floating point value.
A class for software fault reporting.
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
Type type() const
Returns the type of the class instance.
virtual unsigned int width()
Returns the size of the class instance data.
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.
virtual bool deserialize(UnMarshaller &um, DDS *dds, bool reuse=false)
Receive data from the net.
Evaluate a constraint expression.
static ostream & LMarg(ostream &strm)
virtual dods_uint16 value() const
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 void dump(ostream &strm) const
dumps information about this object
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
string dataset() const
Returns the name of the dataset used to create this instance.
virtual BaseType * ptr_duplicate()