29 #ifndef _dods_datatypes_h
44 virtual unsigned int val2buf(
void *,
bool) {
throw InternalErr(__FILE__, __LINE__,
"Not implemented for Int8"); }
45 virtual unsigned int buf2val(
void **) {
throw InternalErr(__FILE__, __LINE__,
"Not implemented for Int8"); }
51 Int8(
const string &n);
52 Int8(
const string &n,
const string &d);
62 virtual unsigned int width(
bool constrained =
false);
70 virtual void print_val(FILE *out,
string space =
"",
71 bool print_decl_p =
true);
72 virtual void print_val(ostream &out,
string space =
"",
73 bool print_decl_p =
true);
77 virtual void dump(ostream &strm)
const ;
virtual bool ops(BaseType *b, int op)
Evaluate relational operators.
Holds a 16-bit signed integer value.
abstract base class used to unmarshall/deserialize dap data objects
virtual bool serialize(ConstraintEvaluator &eval, DDS &dds, Marshaller &m, bool ce_eval=true)
Move data to the net.
virtual bool deserialize(UnMarshaller &um, DDS *dds, bool reuse=false)
Receive data from the net.
virtual BaseType * ptr_duplicate()
A class for software fault reporting.
virtual void print_val(FILE *out, string space="", bool print_decl_p=true)
Prints the value of the variable.
Int8 & operator=(const Int8 &rhs)
virtual dods_int8 value() const
Evaluate a constraint expression.
virtual bool set_value(dods_int8 val)
virtual unsigned int width(bool constrained=false)
The basic data type for the DODS DAP types.
abstract base class used to marshal/serialize dap data objects
virtual void dump(ostream &strm) const
dumps information about this object