12#include <libdap/DataDDS.h>
13#include <libdap/Structure.h>
14#include <libdap/Array.h>
15#include <libdap/Byte.h>
16#include <libdap/Int16.h>
17#include <libdap/Int32.h>
18#include <libdap/UInt16.h>
19#include <libdap/UInt32.h>
20#include <libdap/Float32.h>
21#include <libdap/Float64.h>
22#include <libdap/Str.h>
23#include <libdap/Error.h>
27#include <BESDataHandlerInterface.h>
28#include <BESDataNames.h>
32#include "test_send_data.h"
34int main(
int argc,
char **argv)
38 for (
int i = 0; i < argc; i++) {
52 DDS *dds =
new DDS(NULL,
"virtual");
54 Structure s(
"mystruct");
65 i32.set_value(-105467);
73 ui32.set_value(105467);
77 f32.set_value(5.7866);
81 f64.set_value(10245.1234);
85 str.set_value(
"This is a String Value");
90 build_dods_response(&dds,
"./structT00.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