41 {
"$Id: Float64.cc 21699 2009-11-05 00:06:01Z jimg $" 113 dynamic_cast<BaseType &
>(*this) = rhs;
164 "The incoming pointer does not contain any data.");
177 throw InternalErr(__FILE__, __LINE__,
"NULL pointer.");
216 fprintf(out,
" = %.15g;\n",
_buf) ;
219 fprintf(out,
"%.15g",
_buf) ;
231 out <<
" = " << std::setprecision( 15 ) <<
_buf <<
";\n" ;
234 out << std::setprecision( 15 ) <<
_buf ;
247 throw InternalErr(__FILE__, __LINE__,
"This value not read!");
257 throw InternalErr(__FILE__, __LINE__,
"This value not read!");
262 return rops<dods_float64, dods_byte, Cmp<dods_float64, dods_byte> >
263 (
_buf,
dynamic_cast<Byte *
>(b)->_buf, op);
265 return rops<dods_float64, dods_int16, Cmp<dods_float64, dods_int16> >
266 (
_buf,
dynamic_cast<Int16 *
>(b)->_buf, op);
268 return rops<dods_float64, dods_uint16, Cmp<dods_float64, dods_uint16> >
271 return rops<dods_float64, dods_int32, Cmp<dods_float64, dods_int32> >
272 (
_buf,
dynamic_cast<Int32 *
>(b)->_buf, op);
274 return rops<dods_float64, dods_uint32, Cmp<dods_float64, dods_uint32> >
277 return rops<dods_float64, dods_float32, Cmp<dods_float64, dods_float32> >
280 return rops<dods_float64, dods_float64, Cmp<dods_float64, dods_float64> >
299 << (
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 put_float64(dods_float64 val)=0
virtual unsigned int buf2val(void **val)
Reads the class data.
virtual bool deserialize(UnMarshaller &um, DDS *dds, bool reuse=false)
Receive data from the net.
virtual bool set_value(dods_float64 val)
virtual BaseType * ptr_duplicate()
Holds an unsigned 16-bit integer.
virtual bool serialize(ConstraintEvaluator &eval, DDS &dds, Marshaller &m, bool ce_eval=true)
Move data to the net.
virtual dods_float64 value() const
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 ...
virtual bool ops(BaseType *b, int op)
Evaluate relational operators.
Holds a 16-bit signed integer value.
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 unsigned int val2buf(void *val, bool reuse=false)
Loads class data.
virtual void dump(ostream &strm) const
dumps information about this object
Evaluate a constraint expression.
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.
Float64 & operator=(const Float64 &rhs)
Holds a 32-bit unsigned integer.
virtual void print_val(FILE *out, string space="", bool print_decl_p=true)
Prints the value of the variable.
virtual void get_float64(dods_float64 &val)=0
Holds a 32-bit signed integer.
string dataset() const
Returns the name of the dataset used to create this instance.