29 #ifndef FoInstanceJsonTransfrom_h_
30 #define FoInstanceJsonTransfrom_h_ 1
53 std::string _localfile;
54 std::string _returnAs;
55 std::string _indent_increment;
59 template<
typename T>
unsigned int json_simple_type_array_worker(std::ostream *strm,
const std::vector<T> &values,
unsigned int indx,
60 const std::vector<unsigned int> &shape,
unsigned int currentDim);
62 template<
typename T>
void json_simple_type_array(std::ostream *strm, libdap::Array *a, std::string indent,
bool sendData);
63 void json_string_array(std::ostream *strm, libdap::Array *a, std::string indent,
bool sendData);
66 unsigned int json_simple_type_array_worker_string(std::ostream *strm,
const vector<std::string> &values,
67 unsigned int indx, std::vector<unsigned int> *shape,
unsigned int currentDim);
70 void transformAtomic(std::ostream *strm, libdap::BaseType *bt, std::string indent,
bool sendData);
72 void transform(std::ostream *strm, libdap::DDS *dds, std::string indent,
bool sendData);
73 void transform(std::ostream *strm, libdap::BaseType *bt, std::string indent,
bool sendData);
74 void transform(std::ostream *strm, libdap::Structure *s, std::string indent,
bool sendData);
75 void transform(std::ostream *strm, libdap::Grid *g, std::string indent,
bool sendData);
76 void transform(std::ostream *strm, libdap::Sequence *s, std::string indent,
bool sendData);
77 void transform(std::ostream *strm, libdap::Array *a, std::string indent,
bool sendData);
78 void transform(std::ostream *strm, libdap::AttrTable &attr_table, std::string indent);
86 virtual void transform(
bool sendData);
88 virtual void dump(std::ostream &strm)
const;
91 #endif // FoInstanceJsonTransfrom_h_
Base object for bes objects.
Structure storing information used by the BES to handle the request.