summaryrefslogtreecommitdiffstats
path: root/persistencetypes/src/persistence/spi/types.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'persistencetypes/src/persistence/spi/types.cpp')
-rw-r--r--persistencetypes/src/persistence/spi/types.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/persistencetypes/src/persistence/spi/types.cpp b/persistencetypes/src/persistence/spi/types.cpp
new file mode 100644
index 00000000000..2219175a395
--- /dev/null
+++ b/persistencetypes/src/persistence/spi/types.cpp
@@ -0,0 +1,20 @@
+// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+#include <vespa/fastos/fastos.h>
+#include "types.h"
+#include <vespa/vespalib/objects/nbostream.h>
+
+namespace storage
+{
+
+namespace spi
+{
+
+DEFINE_PRIMITIVE_WRAPPER_NBOSTREAM(NodeIndex);
+DEFINE_PRIMITIVE_WRAPPER_NBOSTREAM(PartitionId);
+DEFINE_PRIMITIVE_WRAPPER_NBOSTREAM(IteratorId);
+DEFINE_PRIMITIVE_WRAPPER_NBOSTREAM(Timestamp);
+DEFINE_PRIMITIVE_WRAPPER_NBOSTREAM(BucketChecksum);
+
+}
+
+}