summaryrefslogtreecommitdiffstats
path: root/persistencetypes/src/persistence/spi/types.cpp
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@yahoo-inc.com>2016-06-15 23:09:44 +0200
committerJon Bratseth <bratseth@yahoo-inc.com>2016-06-15 23:09:44 +0200
commit72231250ed81e10d66bfe70701e64fa5fe50f712 (patch)
tree2728bba1131a6f6e5bdf95afec7d7ff9358dac50 /persistencetypes/src/persistence/spi/types.cpp
Publish
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);
+
+}
+
+}