aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/containers/comptrie/writeable_node.h
diff options
context:
space:
mode:
authoronpopov <onpopov@yandex-team.ru>2022-02-10 16:50:38 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:50:38 +0300
commit8773f7661194d4c0bdb1e3937b2ff7ae01dd13f8 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/containers/comptrie/writeable_node.h
parent84a29dd4980d5b39615e453f289bd1a81213296d (diff)
downloadydb-8773f7661194d4c0bdb1e3937b2ff7ae01dd13f8.tar.gz
Restoring authorship annotation for <onpopov@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/containers/comptrie/writeable_node.h')
-rw-r--r--library/cpp/containers/comptrie/writeable_node.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/library/cpp/containers/comptrie/writeable_node.h b/library/cpp/containers/comptrie/writeable_node.h
index a5878176e3..5454e579ef 100644
--- a/library/cpp/containers/comptrie/writeable_node.h
+++ b/library/cpp/containers/comptrie/writeable_node.h
@@ -1,26 +1,26 @@
-#pragma once
-
-#include <cstddef>
-
-namespace NCompactTrie {
+#pragma once
+
+#include <cstddef>
+
+namespace NCompactTrie {
class TNode;
-
+
class TWriteableNode {
public:
const char* LeafPos;
size_t LeafLength;
-
+
size_t ForwardOffset;
size_t LeftOffset;
size_t RightOffset;
char Label;
-
+
TWriteableNode();
TWriteableNode(const TNode& node, const char* data);
-
+
// When you call this, the offsets should be relative to the end of the node. Use NPOS to indicate an absent offset.
size_t Pack(char* buffer) const;
size_t Measure() const;
};
-
-}
+
+}