40 #ifndef _dods_datatypes_h 41 #include "dods-datatypes.h" 48 #ifndef constraint_evaluator_h 49 #include "ConstraintEvaluator.h" 67 Float64(
const string &n,
const string &d);
76 virtual unsigned int width(
bool constrained =
false)
const;
87 virtual unsigned int val2buf(
void *val,
bool reuse =
false);
88 virtual unsigned int buf2val(
void **val);
90 virtual dods_float64
value()
const;
91 virtual bool set_value(dods_float64 val);
93 virtual void print_val(FILE *out,
string space =
"",
94 bool print_decl_p =
true);
95 virtual void print_val(ostream &out,
string space =
"",
96 bool print_decl_p =
true);
101 virtual void dump(ostream &strm)
const ;
abstract base class used to unmarshall/deserialize dap data objects
virtual unsigned int buf2val(void **val)
Reads the class data.
virtual void compute_checksum(Crc32 &checksum)
include the data for this variable in the checksum DAP4 includes a checksum with every data response...
virtual bool deserialize(UnMarshaller &um, DDS *dds, bool reuse=false)
Receive data from the net.
virtual unsigned int width(bool constrained=false) const
How many bytes does this variable use Return the number of bytes of storage this variable uses...
Read data from the stream made by D4StreamMarshaller.
virtual BaseType * ptr_duplicate()
virtual bool d4_ops(BaseType *b, int op)
Evaluator a relop for DAP4.
virtual bool serialize(ConstraintEvaluator &eval, DDS &dds, Marshaller &m, bool ce_eval=true)
Move data to the net, then remove them from the object.
virtual dods_float64 value() const
top level DAP object to house generic methods
virtual bool ops(BaseType *b, int op)
Evaluate relational operators.
Marshaller that knows how to marshal/serialize dap data objects to a C++ iostream using DAP4's receiv...
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.
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 print_val(FILE *out, string space="", bool print_decl_p=true)
Prints the value of the variable.