IAP GITLAB

Skip to content
Snippets Groups Projects
Commit 57fe7090 authored by Remy Prechelt's avatar Remy Prechelt Committed by ralfulrich
Browse files

Move getConfig from writer to module.

parent 8f9a6460
No related branches found
No related tags found
No related merge requests found
......@@ -33,9 +33,12 @@ namespace corsika {
return ProcessReturn::Ok;
}
// template <typename TOutput>
// inline YAML::Node LongitudinalProfile<TOutput>::getConfig() const {
// return YAML::Node;
// }
template <typename TOutput>
inline YAML::Node LongitudinalProfile<TOutput>::getConfig() const {
YAML::Node node;
node["type"] = "LongitudinalProfile";
return node;
}
} // namespace corsika
......@@ -188,13 +188,4 @@ namespace corsika {
return summary;
}
inline YAML::Node LongitudinalProfileWriterParquet::getConfig() const {
// determined Xmax and dEdXmax from quadratic interpolation
YAML::Node node;
node["type"] = "LongitudinalProfile";
return node;
}
} // namespace corsika
......@@ -53,7 +53,7 @@ namespace corsika {
return meter * std::numeric_limits<double>::infinity();
}
// YAML::Node getConfig() const;
YAML::Node getConfig() const;
};
} // namespace corsika
......
......@@ -88,8 +88,6 @@ namespace corsika {
*/
YAML::Node getSummary() const;
YAML::Node getConfig() const;
private:
ParquetStreamer output_; ///< The parquet streamer for this process.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment