bes Updated for version 3.21.1
The Backend Server (BES) is the lower two tiers of the Hyrax data server
bes::GlobalMetadataStore::StreamDAP Struct Referenceabstract

#include <GlobalMetadataStore.h>

Inheritance diagram for bes::GlobalMetadataStore::StreamDAP:
Inheritance graph
Collaboration diagram for bes::GlobalMetadataStore::StreamDAP:
Collaboration graph

Public Member Functions

virtual void operator() (std::ostream &os)=0
 
 StreamDAP (libdap::DDS *dds)
 
 StreamDAP (libdap::DMR *dmr)
 

Public Attributes

libdap::DDS * d_dds
 
libdap::DMR * d_dmr
 

Detailed Description

This class is an abstract base class that defines a functor that writes the different DAP metadata responses using a DDS or DMR. The concrete specializations StreamDDS, StreamDAS and StreamDMR are instantiated and passed to store_dap_response().

Note
These classes were written so that either the DDS or DMR could be used to write all of the three DAP2/4 metadata responses. That feature worked for the most part, but highlighted some differences between the two protocol versions that make it hard to produce identical responses using both the DDS or DMR from the same dataset. This made testing hard and meant that the result was 'unpredictable' for some edge cases. The symbol SYMMETRIC_ADD_RESPONSES controls if this feature is on or not; currently it is turned off.

Definition at line 132 of file GlobalMetadataStore.h.

Constructor & Destructor Documentation

◆ StreamDAP() [1/3]

bes::GlobalMetadataStore::StreamDAP::StreamDAP ( )
inline

Definition at line 136 of file GlobalMetadataStore.h.

◆ StreamDAP() [2/3]

bes::GlobalMetadataStore::StreamDAP::StreamDAP ( libdap::DDS * dds)
inline

Definition at line 139 of file GlobalMetadataStore.h.

◆ StreamDAP() [3/3]

bes::GlobalMetadataStore::StreamDAP::StreamDAP ( libdap::DMR * dmr)
inline

Definition at line 140 of file GlobalMetadataStore.h.

Member Function Documentation

◆ operator()()

virtual void bes::GlobalMetadataStore::StreamDAP::operator() ( std::ostream & os)
pure virtual

Member Data Documentation

◆ d_dds

libdap::DDS* bes::GlobalMetadataStore::StreamDAP::d_dds

Definition at line 133 of file GlobalMetadataStore.h.

◆ d_dmr

libdap::DMR* bes::GlobalMetadataStore::StreamDAP::d_dmr

Definition at line 134 of file GlobalMetadataStore.h.


The documentation for this struct was generated from the following file: