aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/contourpy/src/outer_or_hole.cpp
diff options
context:
space:
mode:
authorshumkovnd <shumkovnd@yandex-team.com>2023-11-10 14:39:34 +0300
committershumkovnd <shumkovnd@yandex-team.com>2023-11-10 16:42:24 +0300
commit77eb2d3fdcec5c978c64e025ced2764c57c00285 (patch)
treec51edb0748ca8d4a08d7c7323312c27ba1a8b79a /contrib/python/contourpy/src/outer_or_hole.cpp
parentdd6d20cadb65582270ac23f4b3b14ae189704b9d (diff)
downloadydb-77eb2d3fdcec5c978c64e025ced2764c57c00285.tar.gz
KIKIMR-19287: add task_stats_drawing script
Diffstat (limited to 'contrib/python/contourpy/src/outer_or_hole.cpp')
-rw-r--r--contrib/python/contourpy/src/outer_or_hole.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/contrib/python/contourpy/src/outer_or_hole.cpp b/contrib/python/contourpy/src/outer_or_hole.cpp
new file mode 100644
index 0000000000..47a91aeb7c
--- /dev/null
+++ b/contrib/python/contourpy/src/outer_or_hole.cpp
@@ -0,0 +1,19 @@
+#include "outer_or_hole.h"
+#include <iostream>
+
+namespace contourpy {
+
+std::ostream &operator<<(std::ostream &os, const OuterOrHole& outer_or_hole)
+{
+ switch (outer_or_hole) {
+ case Outer:
+ os << "Outer";
+ break;
+ case Hole:
+ os << "Hole";
+ break;
+ }
+ return os;
+}
+
+} // namespace contourpy