diff options
author | Anton Samokhvalov <pg83@yandex.ru> | 2022-02-10 16:45:15 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:15 +0300 |
commit | 72cb13b4aff9bc9cf22e49251bc8fd143f82538f (patch) | |
tree | da2c34829458c7d4e74bdfbdf85dff449e9e7fb8 /library/cpp/yson_pull/reader.h | |
parent | 778e51ba091dc39e7b7fcab2b9cf4dbedfb6f2b5 (diff) | |
download | ydb-72cb13b4aff9bc9cf22e49251bc8fd143f82538f.tar.gz |
Restoring authorship annotation for Anton Samokhvalov <pg83@yandex.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/yson_pull/reader.h')
-rw-r--r-- | library/cpp/yson_pull/reader.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/library/cpp/yson_pull/reader.h b/library/cpp/yson_pull/reader.h index f839b19071..6326d6eba3 100644 --- a/library/cpp/yson_pull/reader.h +++ b/library/cpp/yson_pull/reader.h @@ -9,29 +9,29 @@ #include <memory> namespace NYsonPull { - namespace NDetail { - class reader_impl; - } - - //! \brief YSON reader facade class. - //! - //! Owns an input stream. - class TReader { + namespace NDetail { + class reader_impl; + } + + //! \brief YSON reader facade class. + //! + //! Owns an input stream. + class TReader { THolder<NInput::IStream> Stream_; THolder<NDetail::reader_impl> Impl_; - public: - TReader(THolder<NInput::IStream> stream, EStreamType mode); - TReader(TReader&&) noexcept; - ~TReader(); + public: + TReader(THolder<NInput::IStream> stream, EStreamType mode); + TReader(TReader&&) noexcept; + ~TReader(); - //! \brief Advance stream to next event and return it. - //! + //! \brief Advance stream to next event and return it. + //! //! Any event data is invalidated by a call to NextEvent(); const TEvent& NextEvent(); - //! \brief Get last returned event. + //! \brief Get last returned event. const TEvent& LastEvent() const noexcept; - }; + }; -} +} |