diff options
author | levysotsky <levysotsky@yandex-team.ru> | 2022-02-10 16:47:29 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:47:29 +0300 |
commit | 32b231c8474a1ade4bdf776ade6a20341691d9d7 (patch) | |
tree | 9814fbd1c3effac9b8377c5d604b367b14e2db55 /library/cpp/yson/node/serialize.h | |
parent | 57f874ffc2a75047c1c4fea7a9fc86cb0f56ed50 (diff) | |
download | ydb-32b231c8474a1ade4bdf776ade6a20341691d9d7.tar.gz |
Restoring authorship annotation for <levysotsky@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/yson/node/serialize.h')
-rw-r--r-- | library/cpp/yson/node/serialize.h | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/library/cpp/yson/node/serialize.h b/library/cpp/yson/node/serialize.h index 5fc72a0482..99b598a44c 100644 --- a/library/cpp/yson/node/serialize.h +++ b/library/cpp/yson/node/serialize.h @@ -1,45 +1,45 @@ -#pragma once - -#include "node.h" - +#pragma once + +#include "node.h" + namespace NYT { namespace NYson { struct IYsonConsumer; } // namespace NYson -//////////////////////////////////////////////////////////////////////////////// - +//////////////////////////////////////////////////////////////////////////////// + void Serialize(const TString& value, NYson::IYsonConsumer* consumer); void Serialize(const TStringBuf& value, NYson::IYsonConsumer* consumer); void Serialize(const char* value, NYson::IYsonConsumer* consumer); -void Deserialize(TString& value, const TNode& node); - +void Deserialize(TString& value, const TNode& node); + void Serialize(signed char value, NYson::IYsonConsumer* consumer); void Serialize(short value, NYson::IYsonConsumer* consumer); void Serialize(int value, NYson::IYsonConsumer* consumer); void Serialize(long value, NYson::IYsonConsumer* consumer); void Serialize(long long value, NYson::IYsonConsumer* consumer); -void Deserialize(i64& value, const TNode& node); - +void Deserialize(i64& value, const TNode& node); + void Serialize(unsigned char value, NYson::IYsonConsumer* consumer); void Serialize(unsigned short value, NYson::IYsonConsumer* consumer); void Serialize(unsigned int value, NYson::IYsonConsumer* consumer); void Serialize(unsigned long value, NYson::IYsonConsumer* consumer); void Serialize(unsigned long long value, NYson::IYsonConsumer* consumer); -void Deserialize(ui64& value, const TNode& node); - +void Deserialize(ui64& value, const TNode& node); + void Serialize(double value, NYson::IYsonConsumer* consumer); -void Deserialize(double& value, const TNode& node); - +void Deserialize(double& value, const TNode& node); + void Serialize(bool value, NYson::IYsonConsumer* consumer); -void Deserialize(bool& value, const TNode& node); - +void Deserialize(bool& value, const TNode& node); + void Serialize(const TNode& node, NYson::IYsonConsumer* consumer); -void Deserialize(TNode& value, const TNode& node); - +void Deserialize(TNode& value, const TNode& node); + void Serialize(const THashMap<TString, TString>& renameColumns, NYson::IYsonConsumer* consumer); -//////////////////////////////////////////////////////////////////////////////// - -} // namespace NYT +//////////////////////////////////////////////////////////////////////////////// + +} // namespace NYT |