summaryrefslogtreecommitdiff
path: root/src/style/layer_description.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/style/layer_description.cpp')
-rw-r--r--src/style/layer_description.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/style/layer_description.cpp b/src/style/layer_description.cpp
new file mode 100644
index 0000000000..d4b8b7d678
--- /dev/null
+++ b/src/style/layer_description.cpp
@@ -0,0 +1,12 @@
+#include <llmr/style/layer_description.hpp>
+
+#include <iostream>
+
+std::ostream& llmr::operator<<(std::ostream& os, const LayerDescription& layer) {
+ os << "Structure: " << layer.name << std::endl;
+ os << " - bucket_name: " << layer.bucket_name << std::endl;
+ for (const LayerDescription& value : layer.child_layer) {
+ os << " - child_layer: " << value << std::endl;
+ }
+ return os;
+}