29#ifndef _dods_datatypes_h
30#include "dods-datatypes.h"
40class ConstraintEvaluator;
51 virtual unsigned int val2buf(
void *val,
bool) {
52 set_value(*
reinterpret_cast<dods_int64*
>(val));
53 return sizeof(dods_int64);
56 virtual unsigned int buf2val(
void **);
57 virtual void print_val(FILE *,
string,
bool) {
throw InternalErr(__FILE__, __LINE__,
"Not implemented for Int64"); }
63 Int64(
const string &n);
64 Int64(
const string &n,
const string &d);
74 virtual unsigned int width(
bool constrained =
false)
const;
81 virtual bool set_value(dods_int64 i);
82 virtual dods_int64 value()
const;
84 virtual void print_val(ostream &out,
string space =
"",
bool print_decl_p =
true);
90 virtual void dump(ostream &strm)
const ;
Contains the attributes for a dataset.
The basic data type for the DODS DAP types.
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 a64-bit signed integer.
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 serialize(D4StreamMarshaller &m, DMR &dmr, bool filter=false)
Serialize an Int8.
virtual BaseType * ptr_duplicate()
virtual void dump(ostream &strm) const
dumps information about this object
virtual bool ops(BaseType *b, int op)
Evaluate relational operators.
virtual void deserialize(D4StreamUnMarshaller &um, DMR &dmr)
virtual void compute_checksum(Crc32 &checksum)
include the data for this variable in the checksum DAP4 includes a checksum with every data response....
virtual bool d4_ops(BaseType *b, int op)
virtual std::vector< BaseType * > * transform_to_dap2(AttrTable *parent_attr_table)
DAP4 to DAP2 transform.
A class for software fault reporting.
top level DAP object to house generic methods