bes Updated for version 3.21.1
The Backend Server (BES) is the lower two tiers of the Hyrax data server
WWWOutput Class Reference

#include <WWWOutput.h>

Collaboration diagram for WWWOutput:
Collaboration graph

Public Member Functions

void write_disposition (string url, bool netcdf3_file_response, bool netcdf4_file_response)
 
void write_global_attributes (AttrTable &attr)
 
void write_html_header ()
 
void write_variable_attributes (BaseType *btp)
 
void write_variable_entries (DDS &dds)
 
void write_variable_list (DDS &dds)
 
 WWWOutput (ostream &strm, int rows=5, int cols=70)
 

Protected Member Functions

void write_attributes (AttrTable *attr, const string prefix="")
 

Protected Attributes

int d_attr_cols
 
int d_attr_rows
 
ostreamd_strm
 

Detailed Description

Write various parts of the HTML form for a dataset.

Author
jhrg.

Definition at line 48 of file WWWOutput.h.

Constructor & Destructor Documentation

◆ WWWOutput()

WWWOutput::WWWOutput ( ostream & strm,
int rows = 5,
int cols = 70 )

Create a WWWOutput.

Parameters
osThe output stream to which HTML should be sent.
rowsThe number of rows to show in the attribute textbox (default 5).
colsThe number of columns to show in the attribute textbox (default 70).

Member Function Documentation

◆ write_disposition()

void WWWOutput::write_disposition ( string url,
bool netcdf3_file_response,
bool netcdf4_file_response )

Write the disposition section of the HTML page. This section shows the URL and provides buttons with which the user can choose the type of output.

Parameters
urlThe initial URL to display.
FONcTrue if the Fileout netCDF button should be shown.

◆ write_html_header()

void WWWOutput::write_html_header ( )

Write out the header for the HTML document.

◆ write_variable_list()

void WWWOutput::write_variable_list ( DDS & dds)

Write the dataset variable list. This is a scrolling select box.

Deprecated
Parameters
ddsThe dataset's DDS.

Member Data Documentation

◆ d_attr_cols

int WWWOutput::d_attr_cols
protected

Definition at line 64 of file WWWOutput.h.

◆ d_attr_rows

int WWWOutput::d_attr_rows
protected

Definition at line 63 of file WWWOutput.h.

◆ d_strm

ostream* WWWOutput::d_strm
protected

Definition at line 62 of file WWWOutput.h.


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