Marshaller that knows how serialize dap data objects to a disk cache This class can be used with libdap::BaseType::serialize() to write out data values. Unlike the XDR-based code used with DAP2, this does not translate data to network byte order and thus eliminates copy and memory allocation operations.
More...
#include <CacheMarshaller.h>
Marshaller that knows how serialize dap data objects to a disk cache This class can be used with libdap::BaseType::serialize() to write out data values. Unlike the XDR-based code used with DAP2, this does not translate data to network byte order and thus eliminates copy and memory allocation operations.
Definition at line 42 of file CacheMarshaller.h.
◆ CacheMarshaller()
CacheMarshaller::CacheMarshaller |
( |
ostream & | out | ) |
|
|
inline |
◆ ~CacheMarshaller()
virtual CacheMarshaller::~CacheMarshaller |
( |
| ) |
|
|
inlinevirtual |
◆ dump()
void CacheMarshaller::dump |
( |
ostream & | strm | ) |
const |
|
virtual |
◆ put_byte()
void CacheMarshaller::put_byte |
( |
libdap::dods_byte | val | ) |
|
|
virtual |
◆ put_float32()
void CacheMarshaller::put_float32 |
( |
libdap::dods_float32 | val | ) |
|
|
virtual |
◆ put_float64()
void CacheMarshaller::put_float64 |
( |
libdap::dods_float64 | val | ) |
|
|
virtual |
◆ put_int()
void CacheMarshaller::put_int |
( |
int | val | ) |
|
|
virtual |
◆ put_int16()
void CacheMarshaller::put_int16 |
( |
libdap::dods_int16 | val | ) |
|
|
virtual |
◆ put_int32()
void CacheMarshaller::put_int32 |
( |
libdap::dods_int32 | val | ) |
|
|
virtual |
◆ put_opaque()
void CacheMarshaller::put_opaque |
( |
char * | val, |
|
|
unsigned int | len ) |
|
virtual |
◆ put_str()
void CacheMarshaller::put_str |
( |
const string & | val | ) |
|
|
virtual |
◆ put_uint16()
void CacheMarshaller::put_uint16 |
( |
libdap::dods_uint16 | val | ) |
|
|
virtual |
◆ put_uint32()
void CacheMarshaller::put_uint32 |
( |
libdap::dods_uint32 | val | ) |
|
|
virtual |
◆ put_url()
void CacheMarshaller::put_url |
( |
const string & | val | ) |
|
|
virtual |
◆ put_vector_end()
void CacheMarshaller::put_vector_end |
( |
| ) |
|
|
virtual |
◆ put_vector_part()
void CacheMarshaller::put_vector_part |
( |
char * | val, |
|
|
unsigned int | num, |
|
|
int | width, |
|
|
libdap::Type | ) |
|
virtual |
◆ put_vector_start()
void CacheMarshaller::put_vector_start |
( |
int | num | ) |
|
|
virtual |
The documentation for this class was generated from the following files: