libdap Updated for version 3.21.0
libdap4 is an implementation of OPeNDAP's DAP protocol.
libdap::UInt32 Class Reference

Holds a 32-bit unsigned integer. More...

#include <UInt32.h>

Inheritance diagram for libdap::UInt32:
Inheritance graph

Public Member Functions

unsigned int buf2val (void **val) override
void compute_checksum (Crc32 &checksum) override
void deserialize (D4StreamUnMarshaller &um, DMR &dmr) override
bool deserialize (UnMarshaller &um, DDS *dds, bool reuse=false) override
void dump (ostream &strm) const override
 dumps information about this object
UInt32operator= (const UInt32 &rhs)
bool ops (BaseType *b, int op) override
void print_val (FILE *out, string space="", bool print_decl_p=true) override
void print_val (ostream &out, string space="", bool print_decl_p=true) override
BaseTypeptr_duplicate () override
bool serialize (ConstraintEvaluator &eval, DDS &dds, Marshaller &m, bool ce_eval=true) override
void serialize (D4StreamMarshaller &m, DMR &dmr, bool filter=false) override
 Serialize an Int8.
virtual bool set_value (dods_uint32 val)
 UInt32 (const string &n)
 UInt32 (const string &n, const string &d)
 UInt32 (const UInt32 &copy_from)
unsigned int val2buf (void *val, bool reuse=false) override
virtual dods_uint32 value () const
unsigned int width (bool=false) const override
int64_t width_ll (bool=false) const override

Protected Attributes

dods_uint32 d_buf

Detailed Description

Holds a 32-bit unsigned integer.

See also
BaseType

Definition at line 57 of file UInt32.h.

Constructor & Destructor Documentation

◆ UInt32() [1/3]

libdap::UInt32::UInt32 ( const string & n)

The UInt32 constructor accepts the name of the variable to be created.

Parameters
nA string containing the name of the variable to be created. variable is created

Definition at line 79 of file UInt32.cc.

◆ UInt32() [2/3]

libdap::UInt32::UInt32 ( const string & n,
const string & d )

The UInt32 server-side constructor accepts the name of the variable and the dataset name from which this instance is created.

Parameters
nA string containing the name of the variable to be created.
dA string containing the name of the dataset from which this variable is created

Definition at line 88 of file UInt32.cc.

◆ ~UInt32()

virtual libdap::UInt32::~UInt32 ( )
inlinevirtual

Definition at line 64 of file UInt32.h.

◆ UInt32() [3/3]

libdap::UInt32::UInt32 ( const UInt32 & copy_from)

Definition at line 90 of file UInt32.cc.

Member Function Documentation

◆ buf2val()

unsigned int libdap::UInt32::buf2val ( void ** val)
override

Definition at line 158 of file UInt32.cc.

◆ compute_checksum()

void libdap::UInt32::compute_checksum ( Crc32 & checksum)
override

Definition at line 125 of file UInt32.cc.

◆ deserialize() [1/2]

void libdap::UInt32::deserialize ( D4StreamUnMarshaller & um,
DMR & dmr )
override

Definition at line 142 of file UInt32.cc.

◆ deserialize() [2/2]

bool libdap::UInt32::deserialize ( UnMarshaller & um,
DDS * dds,
bool reuse = false )
override

Definition at line 119 of file UInt32.cc.

◆ dump()

void libdap::UInt32::dump ( ostream & strm) const
override

dumps information about this object

Displays the pointer value of this instance and information about this instance.

Parameters
strmC++ i/o stream to dump the information to
Returns
void

Definition at line 250 of file UInt32.cc.

◆ operator=()

UInt32 & libdap::UInt32::operator= ( const UInt32 & rhs)

Definition at line 94 of file UInt32.cc.

◆ ops()

bool libdap::UInt32::ops ( BaseType * b,
int op )
override

Definition at line 195 of file UInt32.cc.

◆ print_val() [1/2]

void libdap::UInt32::print_val ( FILE * out,
string space = "",
bool print_decl_p = true )
override

Definition at line 181 of file UInt32.cc.

◆ print_val() [2/2]

void libdap::UInt32::print_val ( ostream & out,
string space = "",
bool print_decl_p = true )
override

Definition at line 187 of file UInt32.cc.

◆ ptr_duplicate()

BaseType * libdap::UInt32::ptr_duplicate ( )
override

Definition at line 92 of file UInt32.cc.

◆ serialize() [1/2]

bool libdap::UInt32::serialize ( ConstraintEvaluator & eval,
DDS & dds,
Marshaller & m,
bool ce_eval = true )
override

Definition at line 102 of file UInt32.cc.

◆ serialize() [2/2]

void libdap::UInt32::serialize ( D4StreamMarshaller & m,
DMR & dmr,
bool filter = false )
override

Serialize an Int8.

Parameters
m
dmrUnused
evalUnused
filterUnused
Exceptions
Erroris thrown if the value needs to be read and that operation fails.

Definition at line 135 of file UInt32.cc.

◆ set_value()

bool libdap::UInt32::set_value ( dods_uint32 val)
virtual

Definition at line 174 of file UInt32.cc.

◆ val2buf()

unsigned int libdap::UInt32::val2buf ( void * val,
bool reuse = false )
override

Definition at line 144 of file UInt32.cc.

◆ value()

dods_uint32 libdap::UInt32::value ( ) const
virtual

Definition at line 172 of file UInt32.cc.

◆ width()

unsigned int libdap::UInt32::width ( bool = false) const
inlineoverride

Definition at line 72 of file UInt32.h.

◆ width_ll()

int64_t libdap::UInt32::width_ll ( bool = false) const
inlineoverride

Definition at line 74 of file UInt32.h.

Member Data Documentation

◆ d_buf

dods_uint32 libdap::UInt32::d_buf
protected

Definition at line 59 of file UInt32.h.


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