39#ifndef _dods_datatypes_h
40#include "dods-datatypes.h"
47#ifndef constraint_evaluator_h
48#include "ConstraintEvaluator.h"
64 Byte(
const string &n);
65 Byte(
const string &n,
const string &d);
73 unsigned int width(
bool =
false)
const override {
return sizeof(dods_byte); }
75 int64_t width_ll(
bool =
false)
const override {
return sizeof(dods_byte); }
84 void compute_checksum(
Crc32 &checksum)
override;
88 unsigned int val2buf(
void *val,
bool reuse =
false)
override;
89 unsigned int buf2val(
void **val)
override;
92 virtual dods_byte
value()
const;
94 void print_val(FILE *out,
string space =
"",
bool print_decl_p =
true)
override;
95 void print_val(ostream &out,
string space =
"",
bool print_decl_p =
true)
override;
97 bool ops(
BaseType *b,
int op)
override;
101 void dump(ostream &strm)
const override;
Contains the attributes for a dataset.
bool d4_ops(BaseType *b, int op) override
Byte(const string &n)
The Byte constructor.
bool deserialize(UnMarshaller &um, DDS *, bool) override
Deserialize the char on stdin and put the result in _BUF.
void dump(ostream &strm) const override
dumps information about this object
virtual dods_byte value() const
unsigned int val2buf(void *val, bool reuse=false) override
virtual bool set_value(const dods_byte value)
std::vector< BaseType * > * transform_to_dap2(AttrTable *parent_attr_table) override
DAP4 to DAP2 transform.
bool serialize(ConstraintEvaluator &eval, DDS &dds, Marshaller &m, bool ce_eval) 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.
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