aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/yson/node/node.h
diff options
context:
space:
mode:
authoryazevnul <yazevnul@yandex-team.ru>2022-02-10 16:46:48 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:48 +0300
commit9abfb1a53b7f7b791444d1378e645d8fad9b06ed (patch)
tree49e222ea1c5804306084bb3ae065bb702625360f /library/cpp/yson/node/node.h
parent8cbc307de0221f84c80c42dcbe07d40727537e2c (diff)
downloadydb-9abfb1a53b7f7b791444d1378e645d8fad9b06ed.tar.gz
Restoring authorship annotation for <yazevnul@yandex-team.ru>. Commit 2 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 971b5355be7..5f90f95df07 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);