bes
Updated for version 3.20.10
|
Public Member Functions | |
virtual unsigned long | add_chunk (const std::string &byte_order, unsigned long long size, unsigned long long offset, const std::string &position_in_array) |
virtual unsigned long | add_chunk (const std::string &byte_order, unsigned long long size, unsigned long long offset, const std::vector< unsigned long long > &position_in_array) |
virtual unsigned long | add_chunk (std::shared_ptr< http::url > d_data_url, const std::string &byte_order, unsigned long long size, unsigned long long offset, const std::string &position_in_array) |
Add a new chunk as defined by an h4:byteStream element. More... | |
virtual unsigned long | add_chunk (std::shared_ptr< http::url > d_data_url, const std::string &byte_order, unsigned long long size, unsigned long long offset, const std::vector< unsigned long long > &position_in_array) |
DmrppInt16 (const DmrppInt16 &)=default | |
DmrppInt16 (const std::string &n) | |
DmrppInt16 (const std::string &n, const std::string &d) | |
DmrppInt16 (const std::string &n, const std::string &d, std::shared_ptr< DMZ > dmz) | |
DmrppInt16 (const std::string &n, std::shared_ptr< DMZ > dmz) | |
virtual void | dump (ostream &strm) const |
virtual void | dump (std::ostream &strm) const |
virtual bool | get_attributes_loaded () const |
Have the attributes been loaded? More... | |
virtual std::string | get_byte_order () const |
virtual const std::vector< unsigned long long > & | get_chunk_dimension_sizes () const |
The chunk dimension sizes held in a const vector. More... | |
virtual unsigned long long | get_chunk_size_in_elements () const |
Get the number of elements in this chunk. More... | |
virtual bool | get_chunks_loaded () const |
Have the chunks been loaded? More... | |
virtual size_t | get_chunks_size () const |
Use this when the number of chunks is needed. More... | |
virtual std::string | get_filters () const |
Return the names of all the filters in the order they were applied. More... | |
virtual const std::vector< std::shared_ptr< Chunk > > & | get_immutable_chunks () const |
A const reference to the vector of chunks. More... | |
virtual const pugi::xml_node & | get_xml_node () const |
virtual void | ingest_byte_order (const std::string &byte_order_string) |
Parses the text content of the XML element chunks:byteOrder. More... | |
virtual void | ingest_compression_type (const std::string &compression_type_string) |
Parses the text content of the XML element h4:chunkDimensionSizes into the internal vector<unsigned int> representation. More... | |
virtual bool | is_compact_layout () const |
Returns true if this object utilizes COMPACT layout. More... | |
virtual bool | is_filters_empty () const |
virtual void | load_attributes (libdap::BaseType *btp) |
Load the attribute information for this variable. More... | |
virtual void | load_chunks (libdap::BaseType *btp) |
Load chunk information for this variable. More... | |
DmrppInt16 & | operator= (const DmrppInt16 &rhs) |
virtual void | parse_chunk_dimension_sizes (const std::string &chunk_dim_sizes_string) |
Set the dimension sizes for a chunk. More... | |
void | print_chunks_element (libdap::XMLWriter &xml, const std::string &name_space="") |
Print the Chunk information. More... | |
void | print_compact_element (libdap::XMLWriter &xml, const std::string &name_space="", const std::string &encoded="") |
Print the Compact base64-encoded information. More... | |
virtual void | print_dap4 (libdap::XMLWriter &writer, bool constrained=false) |
void | print_dmrpp (libdap::XMLWriter &writer, bool constrained=false) |
Print the DMR++ response for the Scalar types. More... | |
virtual libdap::BaseType * | ptr_duplicate () |
bool | read () override |
virtual void | set_attributes_loaded (bool state) |
void | set_chunk_dimension_sizes (const std::vector< size_t > &chunk_dims) |
Set the value of the chunk dimension sizes given a vector of HDF5 hsize_t. More... | |
virtual void | set_chunks_loaded (bool state) |
void | set_compact (bool value) |
Set the value of the compact property. More... | |
void | set_filter (const std::string &value) |
Set the value of the filters property. More... | |
void | set_send_p (bool state) override |
virtual void | set_xml_node (pugi::xml_node node) |
virtual bool | twiddle_bytes () const |
Returns true if this object utilizes shuffle compression. More... | |
Static Public Attributes | |
static std::string | d_dmrpp_ns = "http://xml.opendap.org/dap/dmrpp/1.0.0#" |
The DMR++ XML namespace. More... | |
static std::string | d_ns_prefix = "dmrpp" |
The XML namespace prefix to use. More... | |
static bool | d_print_chunks = false |
if true, print_dap4() prints chunk elements More... | |
Protected Member Functions | |
virtual char * | read_atomic (const std::string &name) |
read method for the atomic types More... | |
Definition at line 39 of file DmrppInt16.h.
|
virtualinherited |
Add a new chunk as defined by an h4:byteStream element.
Definition at line 204 of file DmrppCommon.cc.
|
inlinevirtualinherited |
Have the attributes been loaded?
Definition at line 162 of file DmrppCommon.h.
|
inlinevirtualinherited |
The chunk dimension sizes held in a const vector.
Definition at line 179 of file DmrppCommon.h.
|
inlinevirtualinherited |
Get the number of elements in this chunk.
Definition at line 185 of file DmrppCommon.h.
|
inlinevirtualinherited |
Have the chunks been loaded?
Definition at line 158 of file DmrppCommon.h.
|
inlinevirtualinherited |
Use this when the number of chunks is needed.
Definition at line 175 of file DmrppCommon.h.
|
inlinevirtualinherited |
Return the names of all the filters in the order they were applied.
Definition at line 131 of file DmrppCommon.h.
|
inlinevirtualinherited |
A const reference to the vector of chunks.
Definition at line 169 of file DmrppCommon.h.
|
virtualinherited |
Parses the text content of the XML element chunks:byteOrder.
byte_order_string | One of "LE", "BE" |
Definition at line 182 of file DmrppCommon.cc.
|
virtualinherited |
Parses the text content of the XML element h4:chunkDimensionSizes into the internal vector<unsigned int> representation.
compression_type_string |
Definition at line 171 of file DmrppCommon.cc.
|
inlinevirtualinherited |
Returns true if this object utilizes COMPACT layout.
Definition at line 142 of file DmrppCommon.h.
|
virtualinherited |
Load the attribute information for this variable.
btp |
Definition at line 491 of file DmrppCommon.cc.
|
virtualinherited |
Load chunk information for this variable.
btp | Load the chunk information for/into this variable |
Definition at line 482 of file DmrppCommon.cc.
|
virtualinherited |
Set the dimension sizes for a chunk.
The string argument holds a space-separated list of integers that represent the dimensions of a chunk. Parse that string and store the integers in this instance.
chunk_dims | The sizes as a list of integers separated by spaces, e.g., '50 50' |
Definition at line 134 of file DmrppCommon.cc.
|
inherited |
Print the Chunk information.
Definition at line 330 of file DmrppCommon.cc.
|
inherited |
Print the Compact base64-encoded information.
Definition at line 404 of file DmrppCommon.cc.
|
inherited |
Print the DMR++ response for the Scalar types.
xml | Write the XML to this instance of XMLWriter |
constrained | If true, print the constrained DMR. False by default. |
Definition at line 427 of file DmrppCommon.cc.
|
protectedvirtualinherited |
read method for the atomic types
This method is used by the specializations of BaseType::read() in the 'atomic' type classes (libdap::Byte, libdap::In32, ...) to read data when those data are contained in a single chunk (i.e., using HDF5 contiguous storage).
name | The name of the variable, used for error messages |
BESInternalError | on error. |
Definition at line 311 of file DmrppCommon.cc.
|
inlineinherited |
Set the value of the chunk dimension sizes given a vector of HDF5 hsize_t.
Definition at line 202 of file DmrppCommon.h.
|
inlineinherited |
Set the value of the compact property.
Definition at line 147 of file DmrppCommon.h.
|
inherited |
Set the value of the filters property.
Definition at line 108 of file DmrppCommon.cc.
|
inlinevirtualinherited |
Returns true if this object utilizes shuffle compression.
Definition at line 152 of file DmrppCommon.h.
|
staticinherited |
The DMR++ XML namespace.
Definition at line 119 of file DmrppCommon.h.
|
staticinherited |
The XML namespace prefix to use.
Definition at line 120 of file DmrppCommon.h.
|
staticinherited |
if true, print_dap4() prints chunk elements
Definition at line 118 of file DmrppCommon.h.