56 XDRFileUnMarshaller::XDRFileUnMarshaller( FILE *out )
62 XDRFileUnMarshaller::XDRFileUnMarshaller()
66 throw InternalErr( __FILE__, __LINE__,
"Default constructor not implemented." ) ;
69 XDRFileUnMarshaller::XDRFileUnMarshaller(
const XDRFileUnMarshaller &um )
73 throw InternalErr( __FILE__, __LINE__,
"Copy constructor not implemented." ) ;
77 XDRFileUnMarshaller::operator=(
const XDRFileUnMarshaller & )
79 throw InternalErr( __FILE__, __LINE__,
"Copy operator not implemented." ) ;
92 if( !xdr_char( _source, (
char *)&val ) )
93 throw Error(
"Network I/O Error. Could not read byte data. This may be due to a\nbug in DODS or a problem with the network connection.");
100 throw Error(
"Network I/O Error. Could not read int 16 data. This may be due to a\nbug in libdap or a problem with the network connection.");
107 throw Error(
"Network I/O Error. Could not read int 32 data. This may be due to a\nbug in libdap or a problem with the network connection.");
113 if( !xdr_float( _source, &val ) )
114 throw Error(
"Network I/O Error. Could not read float 32 data. This may be due to a\nbug in libdap or a problem with the network connection.");
120 if( !xdr_double( _source, &val ) )
121 throw Error(
"Network I/O Error. Could not read float 64 data. This may be due to a\nbug in libdap or a problem with the network connection.");
128 throw Error(
"Network I/O Error. Could not read uint 16 data. This may be due to a\nbug in libdap or a problem with the network connection.");
135 throw Error(
"Network I/O Error. Could not read uint 32 data. This may be due to a\nbug in libdap or a problem with the network connection.");
141 char *in_tmp = NULL ;
144 throw Error(
"Network I/O Error. Could not read string data.\nThis may be due to a bug in libdap, on the server or a\nproblem with the network connection.");
160 xdr_opaque( _source, val, len ) ;
166 if( !xdr_int( _source, &val ) )
167 throw Error(
"Network I/O Error(1). This may be due to a bug in libdap or a\nproblem with the network connection.");
174 throw Error(
"Network I/O error. Could not read packed array data.\nThis may be due to a bug in libdap or a problem with\nthe network connection.");
185 throw Error(
"Network I/O error. Could not read packed array data.\nThis may be due to a bug in libdap or a problem with\nthe network connection.");
193 << (
void *)
this <<
")" << endl ;