29#ifndef _dods_datatypes_h
30#include "dods-datatypes.h"
49 unsigned int val2buf(
void *val,
bool)
override {
50 set_value(*
reinterpret_cast<dods_int64 *
>(val));
51 return sizeof(dods_int64);
54 unsigned int buf2val(
void **)
override;
55 void print_val(FILE *,
string,
bool)
override {
56 throw InternalErr(__FILE__, __LINE__,
"Not implemented for Int64");
63 Int64(
const string &n);
64 Int64(
const string &n,
const string &d);
74 unsigned int width(
bool =
false)
const override {
return sizeof(dods_int64); }
76 int64_t width_ll(
bool =
false)
const override {
return sizeof(dods_int64); }
79 void compute_checksum(
Crc32 &checksum)
override;
83 virtual bool set_value(dods_int64 i);
84 virtual dods_int64
value()
const;
86 void print_val(ostream &out,
string space =
"",
bool print_decl_p =
true)
override;
88 bool ops(
BaseType *b,
int op)
override;
94 void dump(ostream &strm)
const override;
Contains the attributes for a dataset.
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.
bool d4_ops(BaseType *b, int op) override
void serialize(D4StreamMarshaller &m, DMR &dmr, bool filter=false) override
Serialize an Int8.
bool is_dap4_projected(std::vector< string > &inventory) override
void dump(ostream &strm) const override
dumps information about this object
std::vector< BaseType * > * transform_to_dap2(AttrTable *parent_attr_table) override
DAP4 to DAP2 transform.
A class for software fault reporting.
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...