39 #ifndef _dods_datatypes_h 40 #include "dods-datatypes.h" 47 #ifndef constraint_evaluator_h 48 #include "ConstraintEvaluator.h" 66 Byte(
const string &n);
67 Byte(
const string &n,
const string &d);
76 virtual unsigned int width(
bool constrained =
false)
const;
89 virtual unsigned int val2buf(
void *val,
bool reuse =
false);
90 virtual unsigned int buf2val(
void **val);
93 virtual dods_byte
value()
const;
95 virtual void print_val(FILE *out,
string space =
"",
bool print_decl_p =
true);
96 virtual void print_val(ostream &out,
string space =
"",
bool print_decl_p =
true);
102 virtual void dump(ostream &strm)
const ;
abstract base class used to unmarshall/deserialize dap data objects
virtual std::vector< BaseType * > * transform_to_dap2(AttrTable *parent_attr_table)
DAP4 to DAP2 transform.
virtual unsigned int buf2val(void **val)
Reads the class data.
Contains the attributes for a dataset.
virtual bool deserialize(UnMarshaller &um, DDS *, bool)
Deserialize the char on stdin and put the result in _BUF.
Byte(const string &n)
The Byte constructor.
virtual bool serialize(ConstraintEvaluator &eval, DDS &dds, Marshaller &m, bool ce_eval)
Read data from the stream made by D4StreamMarshaller.
virtual dods_byte value() const
top level DAP object to house generic methods
virtual unsigned int val2buf(void *val, bool reuse=false)
Marshaller that knows how to marshal/serialize dap data objects to a C++ iostream using DAP4's receiv...
virtual bool d4_ops(BaseType *b, int op)
virtual bool set_value(const dods_byte value)
virtual unsigned int width(bool constrained=false) const
How many bytes does this variable use Return the number of bytes of storage this variable uses...
virtual void print_val(FILE *out, string space="", bool print_decl_p=true)
Prints the value of the variable.
Evaluate a constraint expression.
The basic data type for the DODS DAP types.
abstract base class used to marshal/serialize dap data objects
virtual bool ops(BaseType *b, int op)
Evaluate relational operators.
virtual void compute_checksum(Crc32 &checksum)
include the data for this variable in the checksum DAP4 includes a checksum with every data response...
virtual void dump(ostream &strm) const
dumps information about this object
virtual BaseType * ptr_duplicate()