XDRFileUnMarshaller Class Reference

#include <XDRFileUnMarshaller.h>

Inheritance diagram for XDRFileUnMarshaller:

Inheritance graph
[legend]
Collaboration diagram for XDRFileUnMarshaller:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual void dump (ostream &strm) const
 dump the contents of this object to the specified ostream
virtual void get_byte (dods_byte &val)
virtual void get_float32 (dods_float32 &val)
virtual void get_float64 (dods_float64 &val)
virtual void get_int (int &val)
virtual void get_int16 (dods_int16 &val)
virtual void get_int32 (dods_int32 &val)
virtual void get_opaque (char *val, unsigned int len)
virtual void get_str (string &val)
virtual void get_uint16 (dods_uint16 &val)
virtual void get_uint32 (dods_uint32 &val)
virtual void get_url (string &val)
virtual void get_vector (char **val, unsigned int &num, int width, Vector &vec)
virtual void get_vector (char **val, unsigned int &num, Vector &vec)
 XDRFileUnMarshaller (FILE *out)
virtual ~XDRFileUnMarshaller ()

Detailed Description

Definition at line 39 of file XDRFileUnMarshaller.h.


Constructor & Destructor Documentation

XDRFileUnMarshaller::XDRFileUnMarshaller ( FILE *  out  ) 

Definition at line 39 of file XDRFileUnMarshaller.cc.

References new_xdrstdio().

Here is the call graph for this function:

XDRFileUnMarshaller::~XDRFileUnMarshaller (  )  [virtual]

Definition at line 67 of file XDRFileUnMarshaller.cc.

References delete_xdrstdio().

Here is the call graph for this function:


Member Function Documentation

void XDRFileUnMarshaller::dump ( ostream &  strm  )  const [virtual]

This method is implemented by all derived classes to dump their contents, in other words, any state they might have, private variables, etc...

The inline function below can be used to dump the contents of an OPeNDAOObj object. For example, the object Animal is derived from DapObj. A user could do the following:

Animal *a = new dog( "Sparky" ) ; cout << a << endl ;

And the dump method for dog could display the name passed into the constructor, the (this) pointer of the object, etc...

Parameters:
strm C++ i/o stream to dump the object to

Implements UnMarshaller.

Definition at line 173 of file XDRFileUnMarshaller.cc.

References DapIndent::LMarg().

Here is the call graph for this function:

void XDRFileUnMarshaller::get_byte ( dods_byte val  )  [virtual]

Implements UnMarshaller.

Definition at line 73 of file XDRFileUnMarshaller.cc.

void XDRFileUnMarshaller::get_float32 ( dods_float32 val  )  [virtual]

Implements UnMarshaller.

Definition at line 94 of file XDRFileUnMarshaller.cc.

void XDRFileUnMarshaller::get_float64 ( dods_float64 val  )  [virtual]

Implements UnMarshaller.

Definition at line 101 of file XDRFileUnMarshaller.cc.

void XDRFileUnMarshaller::get_int ( int &  val  )  [virtual]

Implements UnMarshaller.

Definition at line 147 of file XDRFileUnMarshaller.cc.

void XDRFileUnMarshaller::get_int16 ( dods_int16 val  )  [virtual]

Implements UnMarshaller.

Definition at line 80 of file XDRFileUnMarshaller.cc.

References XDR_INT16.

void XDRFileUnMarshaller::get_int32 ( dods_int32 val  )  [virtual]

Implements UnMarshaller.

Definition at line 87 of file XDRFileUnMarshaller.cc.

References XDR_INT32.

void XDRFileUnMarshaller::get_opaque ( char *  val,
unsigned int  len 
) [virtual]

Implements UnMarshaller.

Definition at line 141 of file XDRFileUnMarshaller.cc.

void XDRFileUnMarshaller::get_str ( string &  val  )  [virtual]

Implements UnMarshaller.

Definition at line 122 of file XDRFileUnMarshaller.cc.

References max_str_len.

Referenced by get_url().

void XDRFileUnMarshaller::get_uint16 ( dods_uint16 val  )  [virtual]

Implements UnMarshaller.

Definition at line 108 of file XDRFileUnMarshaller.cc.

References XDR_UINT16.

void XDRFileUnMarshaller::get_uint32 ( dods_uint32 val  )  [virtual]

Implements UnMarshaller.

Definition at line 115 of file XDRFileUnMarshaller.cc.

References XDR_UINT32.

void XDRFileUnMarshaller::get_url ( string &  val  )  [virtual]

Implements UnMarshaller.

Definition at line 135 of file XDRFileUnMarshaller.cc.

References get_str().

Here is the call graph for this function:

void XDRFileUnMarshaller::get_vector ( char **  val,
unsigned int &  num,
int  width,
Vector vec 
) [virtual]

Implements UnMarshaller.

Definition at line 161 of file XDRFileUnMarshaller.cc.

References DODS_MAX_ARRAY, BaseType::type(), Vector::var(), and XDRUtils::xdr_coder().

Here is the call graph for this function:

void XDRFileUnMarshaller::get_vector ( char **  val,
unsigned int &  num,
Vector vec 
) [virtual]

Implements UnMarshaller.

Definition at line 154 of file XDRFileUnMarshaller.cc.

References DODS_MAX_ARRAY.


The documentation for this class was generated from the following files:
Generated on Fri Nov 30 10:52:59 2007 for libdap++ by  doxygen 1.5.1