29#include <libdap/BaseType.h>
30#include <libdap/DDS.h>
33namespace dap_html_form {
37BaseType *basetype_to_wwwtype( BaseType *bt );
38DDS *dds_to_www_dds( DDS *dds );
41void write_html_form_interface(FILE *dest, DDS *dds,
43 bool html_header =
true,
44 const string &admin_name =
"support@opendap.org",
45 const string &help_location =
"http://www.opendap.org/online_help_files/opendap_form_help.html");
48void write_html_form_interface(ostream &strm, DDS *dds,
50 bool html_header =
true,
51 bool netcdf3_file_response =
false,
bool netcdf4_file_response =
false,
52 const string &admin_name =
"support@opendap.org",
53 const string &help_location =
"http://www.opendap.org/online_help_files/opendap_form_help.html");
60void write_simple_variable(FILE *os, BaseType *var);
63void write_simple_variable(ostream &strm, BaseType *var);
67void write_attributes(ostream &os, AttrTable &attr,
const string &prefix);
68void write_simple_var_attributes(ostream &os,
int rows,
int cols, BaseType *btp);
75string fancy_typename(BaseType *v);
92string name_for_js_code(
const string &dods_name);
94string get_fqn(BaseType *var);