39#ifndef _dods_datatypes_h
40#include "dods-datatypes.h"
47#ifndef constraint_evaluator_h
48#include "ConstraintEvaluator.h"
62 Int16(
const string &n);
63 Int16(
const string &n,
const string &d);
72 unsigned int width(
bool =
false)
const override {
return sizeof(dods_int16); }
74 int64_t width_ll(
bool =
false)
const override {
return sizeof(dods_int16); }
78 bool deserialize(
UnMarshaller &um,
DDS *dds,
bool reuse =
false)
override;
81 void compute_checksum(
Crc32 &checksum)
override;
85 unsigned int val2buf(
void *val,
bool reuse =
false)
override;
86 unsigned int buf2val(
void **val)
override;
88 virtual dods_int16
value()
const;
89 virtual bool set_value(dods_int16 val);
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;
94 bool ops(
BaseType *b,
int op)
override;
97 void dump(ostream &strm)
const override;
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.
void dump(ostream &strm) const override
dumps information about this object
bool d4_ops(BaseType *b, int op) override
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
virtual BaseType * ptr_duplicate()=0
virtual D4SeqValues value() const
Get the values for this D4Sequence This method returns a reference to the values held by the instance...