libdap Updated for version 3.21.1
libdap4 is an implementation of OPeNDAP's DAP protocol.
DDS.cc File Reference
#include "config.h"
#include <climits>
#include <cmath>
#include <cstdio>
#include <sys/wait.h>
#include <unistd.h>
#include <algorithm>
#include <functional>
#include <iostream>
#include <memory>
#include <sstream>
#include "Array.h"
#include "Byte.h"
#include "Float32.h"
#include "Float64.h"
#include "Grid.h"
#include "Int16.h"
#include "Int32.h"
#include "Sequence.h"
#include "Str.h"
#include "Structure.h"
#include "UInt16.h"
#include "UInt32.h"
#include "Url.h"
#include "Clause.h"
#include "DAS.h"
#include "DapIndent.h"
#include "Error.h"
#include "InternalErr.h"
#include "debug.h"
#include "escaping.h"
#include "parser.h"
#include "util.h"
Include dependency graph for DDS.cc:

Go to the source code of this file.

Namespaces

namespace  libdap
 top level DAP object to house generic methods
 

Functions

void * dds_buffer (FILE *fp)
 
void dds_delete_buffer (void *buffer)
 
void dds_switch_to_buffer (void *new_buffer)
 
int ddsparse (libdap::parser_arg *arg)
 
void libdap::fillConstructorAttrTable (AttrTable *at, BaseType *bt)
 Recursive helper function for Building DAS entries for Constructor types.
 
bool libdap::has_dap2_attributes (AttrTable &a)
 
bool libdap::has_dap2_attributes (BaseType *btp)
 
void libdap::print_var_das (ostream &out, BaseType *bt, string indent="")
 

Variables

const string c_dap20_namespace = "http://xml.opendap.org/ns/DAP2"
 
const string c_dap32_namespace = "http://xml.opendap.org/ns/DAP/3.2#"
 
const string c_dap40_namespace = "http://xml.opendap.org/ns/DAP/4.0#"
 
const string c_dap_20_n_sl = c_dap20_namespace + " " + c_default_dap20_schema_location
 
const string c_dap_32_n_sl = c_dap32_namespace + " " + c_default_dap32_schema_location
 
const string c_dap_40_n_sl = c_dap40_namespace + " " + c_default_dap40_schema_location
 
const string c_default_dap20_schema_location = "http://xml.opendap.org/dap/dap2.xsd"
 
const string c_default_dap32_schema_location = "http://xml.opendap.org/dap/dap3.2.xsd"
 
const string c_default_dap40_schema_location = "http://xml.opendap.org/dap/dap4.0.xsd"
 
const string c_xml_namespace = "http://www.w3.org/XML/1998/namespace"
 
const string c_xml_xsi = "http://www.w3.org/2001/XMLSchema-instance"
 
const string grddl_transformation_dap32 = "http://xml.opendap.org/transforms/ddxToRdfTriples.xsl"
 
const string TOP_LEVEL_ATTRS_CONTAINER_NAME = "DAP4_GLOBAL"
 

Function Documentation

◆ dds_buffer()

void * dds_buffer ( FILE * fp)

◆ dds_delete_buffer()

void dds_delete_buffer ( void * buffer)

◆ dds_switch_to_buffer()

void dds_switch_to_buffer ( void * new_buffer)

◆ ddsparse()

int ddsparse ( libdap::parser_arg * arg)

Variable Documentation

◆ c_dap20_namespace

const string c_dap20_namespace = "http://xml.opendap.org/ns/DAP2"

Definition at line 93 of file DDS.cc.

◆ c_dap32_namespace

const string c_dap32_namespace = "http://xml.opendap.org/ns/DAP/3.2#"

Definition at line 94 of file DDS.cc.

◆ c_dap40_namespace

const string c_dap40_namespace = "http://xml.opendap.org/ns/DAP/4.0#"

Definition at line 95 of file DDS.cc.

◆ c_dap_20_n_sl

Definition at line 97 of file DDS.cc.

◆ c_dap_32_n_sl

Definition at line 98 of file DDS.cc.

◆ c_dap_40_n_sl

Definition at line 99 of file DDS.cc.

◆ c_default_dap20_schema_location

const string c_default_dap20_schema_location = "http://xml.opendap.org/dap/dap2.xsd"

Definition at line 89 of file DDS.cc.

◆ c_default_dap32_schema_location

const string c_default_dap32_schema_location = "http://xml.opendap.org/dap/dap3.2.xsd"

Definition at line 90 of file DDS.cc.

◆ c_default_dap40_schema_location

const string c_default_dap40_schema_location = "http://xml.opendap.org/dap/dap4.0.xsd"

Definition at line 91 of file DDS.cc.

◆ c_xml_namespace

const string c_xml_namespace = "http://www.w3.org/XML/1998/namespace"

Definition at line 85 of file DDS.cc.

◆ c_xml_xsi

const string c_xml_xsi = "http://www.w3.org/2001/XMLSchema-instance"

DapXmlNamespaces

Todo
Replace all usages of the following variable with calls to DapXmlNamespaces

Definition at line 84 of file DDS.cc.

◆ grddl_transformation_dap32

const string grddl_transformation_dap32 = "http://xml.opendap.org/transforms/ddxToRdfTriples.xsl"

Definition at line 87 of file DDS.cc.

◆ TOP_LEVEL_ATTRS_CONTAINER_NAME

const string TOP_LEVEL_ATTRS_CONTAINER_NAME = "DAP4_GLOBAL"

Name given to a container for orphaned top-level attributes. These can show up when a DAS is built from a DMR because DAP4 supports attributes at the top level that are not in any container.

Definition at line 104 of file DDS.cc.