40 {
"$Id: Int32.cc 21699 2009-11-05 00:06:01Z jimg $" 101 return new Int32(*
this);
106 DBG(cerr <<
"~Int32" << endl);
115 dynamic_cast<BaseType &
>(*this) = rhs;
166 "The incoming pointer does not contain any data.");
179 throw InternalErr(__FILE__, __LINE__,
"NULL pointer.");
210 fprintf(out,
" = %d;\n", (
int)
_buf) ;
213 fprintf(out,
"%d", (
int)
_buf) ;
222 out <<
" = " << (int)
_buf <<
";\n" ;
239 throw InternalErr(__FILE__, __LINE__,
"This value not read!");
249 throw InternalErr(__FILE__, __LINE__,
"This value not read!");
254 return rops<dods_int32, dods_byte, SUCmp<dods_int32, dods_byte> >
255 (
_buf,
dynamic_cast<Byte *
>(b)->_buf, op);
257 return rops<dods_int32, dods_int16, Cmp<dods_int32, dods_int16> >
258 (
_buf,
dynamic_cast<Int16 *
>(b)->_buf, op);
260 return rops<dods_int32, dods_uint16, SUCmp<dods_int32, dods_uint16> >
263 return rops<dods_int32, dods_int32, Cmp<dods_int32, dods_int32> >
264 (
_buf,
dynamic_cast<Int32 *
>(b)->_buf, op);
266 return rops<dods_int32, dods_uint32, SUCmp<dods_int32, dods_uint32> >
269 return rops<dods_int32, dods_float32, Cmp<dods_int32, dods_float32> >
272 return rops<dods_int32, dods_float64, Cmp<dods_int32, dods_float64> >
291 << (
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
virtual void dump(ostream &strm) const
dumps information about this object
virtual bool ops(BaseType *b, int op)
Evaluate relational operators.
Holds an unsigned 16-bit integer.
virtual unsigned int width()
Returns the size of the class instance data.
Holds a 32-bit floating point value.
A class for software fault reporting.
virtual bool deserialize(UnMarshaller &um, DDS *dds, bool reuse=false)
Receive data from the net.
bool eval_selection(DDS &dds, const string &dataset)
Evaluate a boolean-valued constraint expression. This is main method for the evaluator ans is called ...
virtual void get_int32(dods_int32 &val)=0
Holds a 16-bit signed integer value.
Type type() const
Returns the type of the class instance.
virtual void set_read_p(bool state)
Sets the value of the read_p property.
Int32 & operator=(const Int32 &rhs)
virtual BaseType * ptr_duplicate()
Evaluate a constraint expression.
virtual dods_int32 value() const
static ostream & LMarg(ostream &strm)
virtual bool set_value(dods_int32 i)
virtual void print_val(FILE *out, string space="", bool print_decl_p=true)
Prints the value of the variable.
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.
Holds a 32-bit unsigned integer.
virtual void put_int32(dods_int32 val)=0
virtual bool serialize(ConstraintEvaluator &eval, DDS &dds, Marshaller &m, bool ce_eval=true)
Move data to the net.
Holds a 32-bit signed integer.
virtual unsigned int val2buf(void *val, bool reuse=false)
Loads class data.
string dataset() const
Returns the name of the dataset used to create this instance.