Holds an unsigned 16-bit integer.
More...
#include <UInt16.h>
|
| 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
|
| UInt16 & | operator= (const UInt16 &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 |
| BaseType * | ptr_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_uint16 val) |
| | UInt16 (const string &n) |
| | UInt16 (const string &n, const string &d) |
| | UInt16 (const UInt16 ©_from) |
| unsigned int | val2buf (void *val, bool reuse=false) override |
| virtual dods_uint16 | value () const |
| unsigned int | width (bool=false) const override |
| int64_t | width_ll (bool=false) const override |
Holds an unsigned 16-bit integer.
Definition at line 55 of file UInt16.h.
◆ UInt16() [1/3]
| libdap::UInt16::UInt16 |
( |
const string & | n | ) |
|
The UInt16 constructor accepts the name of the variable to be created.
- Parameters
-
| n | A string containing the name of the variable to be created. |
Definition at line 78 of file UInt16.cc.
◆ UInt16() [2/3]
| libdap::UInt16::UInt16 |
( |
const string & | n, |
|
|
const string & | d ) |
The UInt16 server-side constructor accepts the name of the variable to be created and the dataset name from which this instance is created.
- Parameters
-
| n | A string containing the name of the variable to be created. |
| d | A string containing the name of the dataset from which this variable is created |
Definition at line 87 of file UInt16.cc.
◆ ~UInt16()
| virtual libdap::UInt16::~UInt16 |
( |
| ) |
|
|
inlinevirtual |
◆ UInt16() [3/3]
| libdap::UInt16::UInt16 |
( |
const UInt16 & | copy_from | ) |
|
◆ buf2val()
| unsigned int libdap::UInt16::buf2val |
( |
void ** | val | ) |
|
|
override |
◆ compute_checksum()
| void libdap::UInt16::compute_checksum |
( |
Crc32 & | checksum | ) |
|
|
override |
◆ deserialize() [1/2]
◆ deserialize() [2/2]
| bool libdap::UInt16::deserialize |
( |
UnMarshaller & | um, |
|
|
DDS * | dds, |
|
|
bool | reuse = false ) |
|
override |
◆ dump()
| void libdap::UInt16::dump |
( |
ostream & | strm | ) |
const |
|
override |
dumps information about this object
Displays the pointer value of this instance and information about this instance.
- Parameters
-
| strm | C++ i/o stream to dump the information to |
- Returns
- void
Definition at line 248 of file UInt16.cc.
◆ operator=()
◆ ops()
| bool libdap::UInt16::ops |
( |
BaseType * | b, |
|
|
int | op ) |
|
override |
◆ print_val() [1/2]
| void libdap::UInt16::print_val |
( |
FILE * | out, |
|
|
string | space = "", |
|
|
bool | print_decl_p = true ) |
|
override |
◆ print_val() [2/2]
| void libdap::UInt16::print_val |
( |
ostream & | out, |
|
|
string | space = "", |
|
|
bool | print_decl_p = true ) |
|
override |
◆ ptr_duplicate()
| BaseType * libdap::UInt16::ptr_duplicate |
( |
| ) |
|
|
override |
◆ serialize() [1/2]
◆ serialize() [2/2]
Serialize an Int8.
- Parameters
-
| m | |
| dmr | Unused |
| eval | Unused |
| filter | Unused |
- Exceptions
-
| Error | is thrown if the value needs to be read and that operation fails. |
Definition at line 134 of file UInt16.cc.
◆ set_value()
| bool libdap::UInt16::set_value |
( |
dods_uint16 | val | ) |
|
|
virtual |
◆ val2buf()
| unsigned int libdap::UInt16::val2buf |
( |
void * | val, |
|
|
bool | reuse = false ) |
|
override |
◆ value()
| dods_uint16 libdap::UInt16::value |
( |
| ) |
const |
|
virtual |
◆ width()
| unsigned int libdap::UInt16::width |
( |
bool | = false | ) |
const |
|
inlineoverride |
◆ width_ll()
| int64_t libdap::UInt16::width_ll |
( |
bool | = false | ) |
const |
|
inlineoverride |
◆ d_buf
| dods_uint16 libdap::UInt16::d_buf |
|
protected |
The documentation for this class was generated from the following files: