39#ifndef _dods_datatypes_h
40#include "dods-datatypes.h"
47#ifndef constraint_evaluator_h
64 Float64(
const string &n,
const string &d);
86 unsigned int val2buf(
void *val,
bool reuse =
false)
override;
87 unsigned int buf2val(
void **val)
override;
92 void print_val(FILE *out,
string space =
"",
bool print_decl_p =
true)
override;
93 void print_val(ostream &out,
string space =
"",
bool print_decl_p =
true)
override;
98 void dump(ostream &strm)
const override;
The basic data type for the DODS DAP types.
BaseType(const string &n, const Type &t, bool is_dap4=false)
The BaseType constructor.
Evaluate a constraint expression.
Marshaller that knows how to marshal/serialize dap data objects to a C++ iostream using DAP4's receiv...
Read data from the stream made by D4StreamMarshaller.
Holds a 64-bit (double precision) floating point value.
Float64 & operator=(const Float64 &rhs)
virtual bool set_value(dods_float64 val)
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.
int64_t width_ll(bool=false) const override
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....
abstract base class used to marshal/serialize dap data objects
abstract base class used to unmarshall/deserialize dap data objects
top level DAP object to house generic methods