53 std::string _localfile;
54 std::string _returnAs;
55 std::string _indent_increment;
61 void writeVariableMetadata(std::ostream *strm, libdap::BaseType *bt, std::string indent);
62 void writeDatasetMetadata(std::ostream *strm, libdap::DDS *dds, std::string indent);
78 void writeAttributes(std::ostream *strm, libdap::AttrTable &attr_table, std::string indent);
81 void json_simple_type_array(std::ostream *strm, libdap::Array *a, std::string indent);
82 void json_string_array(std::ostream *strm, libdap::Array *a, std::string indent);
84 void json_array_starter(
ostream *strm, libdap::Array *a,
string indent);
85 template<
typename T>
void json_simple_type_array_sender(
ostream *strm, libdap::Array *a);
86 void json_string_array_sender(
ostream *strm, libdap::Array *a);
87 void json_array_ender(
ostream *strm,
string indent);
90 unsigned int json_simple_type_array_worker(
94 std::vector<unsigned int> *shape,
95 unsigned int currentDim,
99 void sendW10nMetaForDDS(
ostream *strm, libdap::DDS *dds,
string indent);
100 void sendW10nMetaForVariable(
ostream *strm, libdap::BaseType *bt,
string indent,
bool traverse);
101 std::ostream *getOutputStream();
102 void releaseOutputStream();
103 void sendW10nDataForVariable(
ostream *strm, libdap::BaseType *bt,
string indent);
104 void sendW10nData(
ostream *strm, libdap::BaseType *b,
string indent);
105 void sendW10nData(
ostream *strm, libdap::Array *b,
string indent);
116 virtual void sendW10nMetaForDDS();
117 virtual void sendW10nMetaForVariable(
string &vName,
bool isTop);
118 virtual void sendW10nDataForVariable(
string &vName);
120 virtual void dump(std::ostream &strm)
const;