aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/yson/node/node.h
diff options
context:
space:
mode:
authoryazevnul <yazevnul@yandex-team.ru>2022-02-10 16:46:46 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:46 +0300
commit8cbc307de0221f84c80c42dcbe07d40727537e2c (patch)
tree625d5a673015d1df891e051033e9fcde5c7be4e5 /library/cpp/yson/node/node.h
parent30d1ef3941e0dc835be7609de5ebee66958f215a (diff)
downloadydb-8cbc307de0221f84c80c42dcbe07d40727537e2c.tar.gz
Restoring authorship annotation for <yazevnul@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/yson/node/node.h')
-rw-r--r--library/cpp/yson/node/node.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/library/cpp/yson/node/node.h b/library/cpp/yson/node/node.h
index 5f90f95df0..971b5355be 100644
--- a/library/cpp/yson/node/node.h
+++ b/library/cpp/yson/node/node.h
@@ -12,8 +12,8 @@
#include <cmath>
#include <variant>
-class IInputStream;
-class IOutputStream;
+class IInputStream;
+class IOutputStream;
namespace NYT {
@@ -149,16 +149,16 @@ public:
TListType& AsList();
TMapType& AsMap();
- const TString& UncheckedAsString() const noexcept;
- i64 UncheckedAsInt64() const noexcept;
- ui64 UncheckedAsUint64() const noexcept;
- double UncheckedAsDouble() const noexcept;
- bool UncheckedAsBool() const noexcept;
+ const TString& UncheckedAsString() const noexcept;
+ i64 UncheckedAsInt64() const noexcept;
+ ui64 UncheckedAsUint64() const noexcept;
+ double UncheckedAsDouble() const noexcept;
+ bool UncheckedAsBool() const noexcept;
const TListType& UncheckedAsList() const noexcept;
const TMapType& UncheckedAsMap() const noexcept;
TListType& UncheckedAsList() noexcept;
TMapType& UncheckedAsMap() noexcept;
-
+
// integer types cast
// makes overflow checks
template<typename T>
@@ -264,8 +264,8 @@ public:
// Serialize TNode using binary yson format.
// Methods for ysaveload.
- void Save(IOutputStream* output) const;
- void Load(IInputStream* input);
+ void Save(IOutputStream* output) const;
+ void Load(IInputStream* input);
private:
void Move(TNode&& rhs);