39#ifndef _dods_datatypes_h
40#include "dods-datatypes.h"
47#ifndef constraint_evaluator_h
61 UInt16(
const string &n,
const string &d);
83 unsigned int val2buf(
void *val,
bool reuse =
false)
override;
84 unsigned int buf2val(
void **val)
override;
89 void print_val(FILE *out,
string space =
"",
bool print_decl_p =
true)
override;
90 void print_val(ostream &out,
string space =
"",
bool print_decl_p =
true)
override;
94 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.
abstract base class used to marshal/serialize dap data objects
Holds an unsigned 16-bit integer.
BaseType * ptr_duplicate() override
void dump(ostream &strm) const override
dumps information about this object
void print_val(FILE *out, string space="", bool print_decl_p=true) override
Prints the value of the variable.
unsigned int buf2val(void **val) override
Reads the class data.
void compute_checksum(Crc32 &checksum) override
include the data for this variable in the checksum DAP4 includes a checksum with every data response....
virtual bool set_value(dods_uint16 val)
int64_t width_ll(bool=false) const override
bool ops(BaseType *b, int op) override
Evaluate relational operators.
virtual dods_uint16 value() const
UInt16 & operator=(const UInt16 &rhs)
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.
unsigned int val2buf(void *val, bool reuse=false) override
Loads 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.
abstract base class used to unmarshall/deserialize dap data objects
top level DAP object to house generic methods