OPeNDAP Hyrax Back End Server (BES)  Updated for version 3.8.3
get_html_form.cc File Reference
#include <stdio.h>
#include <sys/types.h>
#include <unistd.h>
#include <iostream>
#include <sstream>
#include <DataDDS.h>
#include <escaping.h>
#include "get_html_form.h"
#include "WWWOutput.h"
#include "WWWOutputFactory.h"
#include "WWWByte.h"
#include "WWWInt16.h"
#include "WWWUInt16.h"
#include "WWWInt32.h"
#include "WWWUInt32.h"
#include "WWWFloat32.h"
#include "WWWFloat64.h"
#include "WWWStr.h"
#include "WWWUrl.h"
#include "WWWArray.h"
#include "WWWStructure.h"
#include "WWWSequence.h"
#include "WWWGrid.h"
#include "javascript.h"
Include dependency graph for get_html_form.cc:

Go to the source code of this file.

Namespaces

 dap_html_form
 

Functions

BaseType * dap_html_form::basetype_to_wwwtype (BaseType *bt)
 Given a BaseType variable, return a pointer to a new variable that has the same parent types (Byte, et c.) but is now one of the WWW specializations. More...
 
DDS * dap_html_form::dds_to_www_dds (DDS *dds)
 Given a DDS filled with variables that are one specialization of BaseType, build a second DDS which contains variables made using the WWW specialization. More...
 
string dap_html_form::fancy_typename (BaseType *v)
 Return a string which describes the datatype of a DODS variable. More...
 
string dap_html_form::get_fqn (BaseType *var)
 Get the Fully Qualified Name for a variable. More...
 
string dap_html_form::name_for_js_code (const string &dods_name)
 Generate variable names to be used by the JavaScript code. More...
 
void dap_html_form::write_html_form_interface (ostream &strm, DDS *dds, const string &url, bool html_header, bool netcdf3_file_response, bool netcdf4_file_response, const string &admin_name, const string &help_location)
 Using the stuff in WWWOutput and the hacked (specialized) print_val() methods in the WWW* classes, write out the HTML form interface. More...
 
void dap_html_form::write_simple_variable (FILE *os, BaseType *var)
 This function is used by the Byte, ..., URL types to write their entries in the HTML Form. More...
 
void dap_html_form::write_simple_variable (ostream &strm, BaseType *var)
 This function is used by the Byte, ..., URL types to write their entries in the HTML Form. More...
 

Variables

const string dap_html_form::allowable
 
const string dap_html_form::java_code
 
WWWOutputdap_html_form::wo = 0