40 #ifndef _dods_datatypes_h
48 #ifndef constraint_evaluator_h
67 Byte(
const string &n);
68 Byte(
const string &n,
const string &d);
77 virtual unsigned int width(
bool constrained =
false);
84 virtual unsigned int val2buf(
void *val,
bool reuse =
false);
85 virtual unsigned int buf2val(
void **val);
90 virtual void print_val(FILE *out,
string space =
"",
bool print_decl_p =
true);
91 virtual void print_val(ostream &out,
string space =
"",
bool print_decl_p =
true);
95 virtual void dump(ostream &strm)
const ;
virtual dods_byte value() const
abstract base class used to unmarshall/deserialize dap data objects
virtual unsigned int buf2val(void **val)
Reads the class data.
bool deserialize(UnMarshaller &um, DDS *, bool)
Deserialize the char on stdin and put the result in _BUF.
Byte(const string &n)
The Byte constructor.
bool serialize(ConstraintEvaluator &eval, DDS &dds, Marshaller &m, bool ce_eval)
virtual unsigned int val2buf(void *val, bool reuse=false)
Byte & operator=(const Byte &rhs)
virtual bool set_value(const dods_byte value)
virtual void dump(ostream &strm) const
dumps information about this object
virtual void print_val(FILE *out, string space="", bool print_decl_p=true)
Prints the value of the variable.
virtual unsigned int width(bool constrained=false)
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 BaseType * ptr_duplicate()