bes  Updated for version 3.20.6
CacheUnMarshaller Class Reference

UnMarshaller that knows how to deserialize dap objects. More...

#include <CacheUnMarshaller.h>

Collaboration diagram for CacheUnMarshaller:
Collaboration graph

Public Member Functions

 CacheUnMarshaller (std::istream &in)
 
virtual void dump (ostream &strm) const
 
virtual void get_byte (libdap::dods_byte &val)
 
virtual void get_float32 (libdap::dods_float32 &val)
 
virtual void get_float64 (libdap::dods_float64 &val)
 
virtual void get_int (int &val)
 
virtual void get_int16 (libdap::dods_int16 &val)
 
virtual void get_int32 (libdap::dods_int32 &val)
 
virtual void get_opaque (char *val, unsigned int len)
 Get bytes; assume the caller knows what they are doing The get_opaque() and put_opaque() methods of UnMarshaller and Marshaller are use by teh DAP2 Sequence class to write the positional markers for start of sequence rows and the end of a sequence. More...
 
virtual void get_str (std::string &val)
 
virtual void get_uint16 (libdap::dods_uint16 &val)
 
virtual void get_uint32 (libdap::dods_uint32 &val)
 
virtual void get_url (std::string &val)
 
virtual void get_vector (char **val, unsigned int &num, int width, libdap::Vector &)
 
virtual void get_vector (char **val, unsigned int &num, libdap::Vector &)
 

Detailed Description

UnMarshaller that knows how to deserialize dap objects.

Use this when reading cached DAP2 data responses from disk. Unlike the XDR-based Marshaller/UnMarshaller code, this does not translate the data to network byte order (and thus does not make a copy of the data or allocate temporary memory).

Definition at line 43 of file CacheUnMarshaller.h.

Member Function Documentation

◆ get_opaque()

void CacheUnMarshaller::get_opaque ( char *  val,
unsigned int  bytes 
)
virtual

Get bytes; assume the caller knows what they are doing The get_opaque() and put_opaque() methods of UnMarshaller and Marshaller are use by teh DAP2 Sequence class to write the positional markers for start of sequence rows and the end of a sequence.

Parameters
val
bytes

Definition at line 93 of file CacheUnMarshaller.cc.


The documentation for this class was generated from the following files: