39#ifndef _dods_datatypes_h
40#include "dods-datatypes.h"
47#ifndef constraint_evaluator_h
62 Int16(
const string &n);
63 Int16(
const string &n,
const string &d);
85 unsigned int val2buf(
void *val,
bool reuse =
false)
override;
86 unsigned int buf2val(
void **val)
override;
91 void print_val(FILE *out,
string space =
"",
bool print_decl_p =
true)
override;
92 void print_val(ostream &out,
string space =
"",
bool print_decl_p =
true)
override;
97 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 16-bit signed integer value.
void print_val(FILE *out, string space="", bool print_decl_p=true) override
Prints the value of the variable.
unsigned int width(bool=false) const override
How many bytes does this variable use Return the number of bytes of storage this variable uses....
int64_t width_ll(bool=false) const override
unsigned int buf2val(void **val) override
Reads the class data.
void dump(ostream &strm) const override
dumps information about this object
virtual dods_int16 value() const
Int16 & operator=(const Int16 &rhs)
BaseType * ptr_duplicate() override
bool deserialize(UnMarshaller &um, DDS *dds, bool reuse=false) override
Receive data from the net.
bool d4_ops(BaseType *b, int op) override
bool ops(BaseType *b, int op) override
Evaluate relational operators.
unsigned int val2buf(void *val, bool reuse=false) override
Loads class data.
virtual bool set_value(dods_int16 val)
void compute_checksum(Crc32 &checksum) override
include the data for this variable in the checksum DAP4 includes a checksum with every data response....
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 marshal/serialize dap data objects
abstract base class used to unmarshall/deserialize dap data objects
top level DAP object to house generic methods