29 #ifndef FODAPNJSONTRANSFORM_H_
30 #define FODAPNJSONTRANSFORM_H_
53 std::string _localfile;
54 std::string _returnAs;
55 std::string _indent_increment;
59 void writeNodeMetadata(std::ostream *strm, libdap::BaseType *bt, std::string indent);
60 void writeLeafMetadata(std::ostream *strm, libdap::BaseType *bt, std::string indent);
61 void writeDatasetMetadata(std::ostream *strm, libdap::DDS *dds, std::string indent);
63 void transformAtomic(std::ostream *strm, libdap::BaseType *bt, std::string indent,
bool sendData);
66 void transform(std::ostream *strm, libdap::DDS *dds, std::string indent,
bool sendData);
67 void transform(std::ostream *strm, libdap::BaseType *bt, std::string indent,
bool sendData);
72 void transform(std::ostream *strm, libdap::Constructor *cnstrctr, std::string indent,
bool sendData);
73 void transform_node_worker(std::ostream *strm, std::vector<libdap::BaseType *> leaves, std::vector<libdap::BaseType *> nodes, std::string indent,
bool sendData);
76 void transform(std::ostream *strm, libdap::Array *a, std::string indent,
bool sendData);
77 void transform(std::ostream *strm, libdap::AttrTable &attr_table, std::string indent);
80 void json_simple_type_array(std::ostream *strm, libdap::Array *a, std::string indent,
bool sendData);
82 void json_string_array(std::ostream *strm, libdap::Array *a, std::string indent,
bool sendData);
85 unsigned int json_simple_type_array_worker(
89 std::vector<unsigned int> *shape,
90 unsigned int currentDim
101 virtual void transform(
bool sendData);
103 virtual void dump(std::ostream &strm)
const;
Base object for bes objects.
Structure storing information used by the BES to handle the request.