50 new_xdrstdio(FILE *stream,
enum xdr_op xop)
54 xdrstdio_create(xdr, stream, xop);
60 set_xdrstdio(XDR *xdr, FILE *stream,
enum xdr_op xop)
62 xdrstdio_create(xdr, stream, xop);
71 delete_xdrstdio(XDR *xdr)
94 xdr_str(XDR *xdrs,
string &buf)
96 DBG(cerr <<
"In xdr_str, xdrs: " << xdrs << endl);
100 const char *out_tmp = buf.c_str();
102 return xdr_string(xdrs, (
char **)&out_tmp, max_str_len);
108 bool_t stat = xdr_string(xdrs, &in_tmp, max_str_len);
150 return (xdrproc_t)XDR_INT16 ;
153 return (xdrproc_t)XDR_UINT16 ;
156 return (xdrproc_t)XDR_INT32 ;
159 return (xdrproc_t)XDR_UINT32 ;
162 return (xdrproc_t)XDR_FLOAT32 ;
165 return (xdrproc_t)XDR_FLOAT64 ;
171 case dods_structure_c:
172 case dods_sequence_c:
Type
Identifies the data type.
top level DAP object to house generic methods
static xdrproc_t xdr_coder(const Type &t)
Returns a function used to encode elements of an array.