40 #ifndef _dods_datatypes_h
49 #ifndef constraint_evaluator_h
57 class ConstraintEvaluator;
70 Int32(
const string &n);
71 Int32(
const string &n,
const string &d);
81 virtual unsigned int width(
bool constrained =
false);
87 virtual unsigned int val2buf(
void *val,
bool reuse =
false);
88 virtual unsigned int buf2val(
void **val);
93 virtual void print_val(FILE *out,
string space =
"",
94 bool print_decl_p =
true);
95 virtual void print_val(ostream &out,
string space =
"",
96 bool print_decl_p =
true);
100 virtual void dump(ostream &strm)
const ;
abstract base class used to unmarshall/deserialize dap data objects
virtual bool ops(BaseType *b, int op)
Evaluate relational operators.
virtual dods_int32 value() const
virtual bool deserialize(UnMarshaller &um, DDS *dds, bool reuse=false)
Receive data from the net.
virtual unsigned int width(bool constrained=false)
Int32 & operator=(const Int32 &rhs)
virtual BaseType * ptr_duplicate()
virtual void dump(ostream &strm) const
dumps information about this object
Evaluate a constraint expression.
virtual bool set_value(dods_int32 i)
virtual void print_val(FILE *out, string space="", bool print_decl_p=true)
Prints the value of the variable.
The basic data type for the DODS DAP types.
abstract base class used to marshal/serialize dap data objects
virtual unsigned int buf2val(void **val)
Reads the class data.
virtual bool serialize(ConstraintEvaluator &eval, DDS &dds, Marshaller &m, bool ce_eval=true)
Move data to the net.
Holds a 32-bit signed integer.
virtual unsigned int val2buf(void *val, bool reuse=false)
Loads class data.