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>
31#include "test_send_data.h"
33int main(
int argc,
char **argv)
37 for (
int i = 0; i < argc; i++) {
50 DDS *dds =
new DDS(NULL,
"virtual");
65 i32.set_value(-105467);
73 Array a(
"array", &ui32);
74 a.append_dim(2,
"ui32a_dim1");
75 a.append_dim(5,
"ui32a_dim2");
78 dods_uint32 i = 10532;
79 for (; numi < 10; numi++) {
83 a.set_value(ua, ua.size());
87 f32.set_value(5.7866);
91 f64.set_value(10245.1234);
95 str.set_value(
"This is a String Value");
103 build_dods_response(&dds,
"./structT01.dods");
112 cerr << e.get_error_message() << endl;
115 catch (std::exception &e) {
116 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