12#include <libdap/DataDDS.h>
13#include <libdap/Byte.h>
14#include <libdap/Int16.h>
15#include <libdap/Int32.h>
16#include <libdap/UInt16.h>
17#include <libdap/UInt32.h>
18#include <libdap/Float32.h>
19#include <libdap/Float64.h>
20#include <libdap/Str.h>
21#include <libdap/Error.h>
25#include <BESDataHandlerInterface.h>
26#include <BESDapResponseBuilder.h>
27#include <BESDataNames.h>
31#include "test_send_data.h"
33int main(
int argc,
char **argv)
36 bool dods_response =
false;
38 for (
int i = 0; i < argc; i++) {
43 else if (arg ==
"dods") {
56 DDS *dds =
new DDS(NULL,
"virtual");
67 i32.set_value(-105467);
75 ui32.set_value(105467);
79 f32.set_value(5.7866);
83 f64.set_value(10245.1234);
87 s.set_value(
"This is a String Value");
90 build_dods_response(&dds,
"./simpleT00.dods");
99 cerr << e.get_error_message() << endl;
102 catch (std::exception &e) {
103 cerr << e.what() << endl;
static void SetUp(const std::string &values)
Sets up debugging for the bes.
Base exception class for the BES with basic string message.
std::string get_message() const
get the error message for this exception