aboutsummaryrefslogtreecommitdiff
path: root/libbutl/uuid-io.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbutl/uuid-io.hxx')
-rw-r--r--libbutl/uuid-io.hxx23
1 files changed, 23 insertions, 0 deletions
diff --git a/libbutl/uuid-io.hxx b/libbutl/uuid-io.hxx
new file mode 100644
index 0000000..57de9f3
--- /dev/null
+++ b/libbutl/uuid-io.hxx
@@ -0,0 +1,23 @@
+// file : libbutl/uuid-io.hxx -*- C++ -*-
+// copyright : Copyright (c) 2014-2018 Code Synthesis Ltd
+// license : MIT; see accompanying LICENSE file
+
+#pragma once
+
+#include <iosfwd>
+
+#include <libbutl/uuid.hxx>
+#include <libbutl/export.hxx>
+
+namespace butl
+{
+ // Insert lower case string representation.
+ //
+ LIBBUTL_SYMEXPORT std::ostream&
+ operator<< (std::ostream&, const uuid&);
+
+ // Extract string representation (lower or upper case).
+ //
+ LIBBUTL_SYMEXPORT std::istream&
+ operator>> (std::istream&, uuid&);
+}