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);
77 unsigned int width(
bool =
false)
const override
79 return sizeof(dods_float64);
82 int64_t width_ll(
bool =
false)
const override
84 return sizeof(dods_float64);
88 bool serialize(ConstraintEvaluator &eval, DDS &dds, Marshaller &m,
bool ce_eval =
true)
override;
89 bool deserialize(UnMarshaller &um, DDS *dds,
bool reuse =
false)
override;
93 void serialize(D4StreamMarshaller &m, DMR &dmr,
bool filter =
false)
override;
94 void deserialize(D4StreamUnMarshaller &um, DMR &dmr)
override;
96 unsigned int val2buf(
void *val,
bool reuse =
false)
override;
97 unsigned int buf2val(
void **val)
override;
99 virtual dods_float64
value()
const;
100 virtual bool set_value(dods_float64 val);
102 void print_val(FILE *out,
string space =
"",
103 bool print_decl_p =
true)
override;
104 void print_val(ostream &out,
string space =
"",
105 bool print_decl_p =
true)
override;
110 void dump(ostream &strm)
const override;
BaseType(const string &n, const Type &t, bool is_dap4=false)
The BaseType constructor.
unsigned int width(bool=false) const override
How many bytes does this variable use Return the number of bytes of storage this variable uses....
bool deserialize(UnMarshaller &um, DDS *dds, bool reuse=false) override
Receive data from the net.
bool d4_ops(BaseType *b, int op) override
Evaluator a relop for DAP4.
bool ops(BaseType *b, int op) override
Evaluate relational operators.
unsigned int val2buf(void *val, bool reuse=false) override
Loads class data.
void dump(ostream &strm) const override
dumps information about this object
unsigned int buf2val(void **val) override
Reads the class data.
bool serialize(ConstraintEvaluator &eval, DDS &dds, Marshaller &m, bool ce_eval=true) override
Move data to the net, then remove them from the object.
void print_val(FILE *out, string space="", bool print_decl_p=true) override
Prints the value of the variable.
BaseType * ptr_duplicate() override
virtual dods_float64 value() const
void compute_checksum(Crc32 &checksum) override
include the data for this variable in the checksum DAP4 includes a checksum with every data response....
top level DAP object to house generic methods