|
virtual void | build_thin_dmr (libdap::DMR *dmr) |
| populate the DMR instance as a 'thin DMR'
|
|
| DMZ ()=default |
| Build a DMZ without simultaneously parsing an XML document.
|
|
| DMZ (const std::string &file_name) |
| Build a DMZ object and initialize it using a DMR++ XML document.
|
|
virtual void | load_attributes (libdap::BaseType *btp) |
|
virtual void | load_attributes (libdap::Constructor *constructor) |
|
void | parse_xml_doc (const std::string &filename) |
| Build the DOM tree for a DMR++ XML document.
|
|
void | parse_xml_string (const std::string &contents) |
| Build a DOM tree for a DMR++ using content from a string.
|
|
virtual bool | set_up_all_direct_io_flags_phase_1 (libdap::DMR *dmr) |
|
virtual void | set_up_all_direct_io_flags_phase_2 (libdap::DMR *dmr) |
|
virtual bool | set_up_direct_io_flag_phase_1 (libdap::BaseType *btp) |
|
virtual bool | set_up_direct_io_flag_phase_1 (libdap::D4Group *group) |
|
virtual void | set_up_direct_io_flag_phase_2 (libdap::BaseType *btp) |
|
virtual void | set_up_direct_io_flag_phase_2 (libdap::D4Group *group) |
|
|
These are functions specific to loading attributes. Originally intended to be part of a lazy-load scheme, this code is used to load attribute data into a 'thin DMR.' jhrg 11/23/21
|
virtual void | load_attributes (libdap::D4Group *group) |
|
virtual void | load_all_attributes (libdap::DMR *dmr) |
|
Interface to hide the DMR++ information storage format.
This class uses an XML library that uses the document text for all the string values (tag/element names, attribute names and values, etc.) so the text of the XML document must persist for as long as the xml_document object itself. For files, the class uses the pugixml load function.
- Note
- This class holds a pugi::xml_document and a shared_ptr<http::url> but does not define its own copy ctor or assignment operator, so copies of an instance of DMZ will share those objects
Definition at line 74 of file DMZ.h.
void dmrpp::DMZ::load_chunks |
( |
libdap::BaseType * | btp | ) |
|
|
virtual |
Load the chunk information into a variable.
Process the chunks, chunk, etc., elements from the DMR++ information. Once this is called, the variable's read() method should be able to read the data for this variable.
- Parameters
-
Definition at line 2230 of file DMZ.cc.