diff options
author | Vlad Yaroslavlev <vladon@vladon.com> | 2022-02-10 16:46:25 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:25 +0300 |
commit | 344ea37b4a345701ab0e67de2266a1c1bd7baf2d (patch) | |
tree | 1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /library/cpp/messagebus/key_value_printer.h | |
parent | 706b83ed7de5a473436620367af31fc0ceecde07 (diff) | |
download | ydb-344ea37b4a345701ab0e67de2266a1c1bd7baf2d.tar.gz |
Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/messagebus/key_value_printer.h')
-rw-r--r-- | library/cpp/messagebus/key_value_printer.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/library/cpp/messagebus/key_value_printer.h b/library/cpp/messagebus/key_value_printer.h index 82b63898ce..bca1fde50e 100644 --- a/library/cpp/messagebus/key_value_printer.h +++ b/library/cpp/messagebus/key_value_printer.h @@ -1,19 +1,19 @@ #pragma once -#include <util/generic/string.h> +#include <util/generic/string.h> #include <util/generic/typetraits.h> #include <util/generic/vector.h> #include <util/string/cast.h> class TKeyValuePrinter { private: - TString Sep; - TVector<TString> Keys; - TVector<TString> Values; - TVector<bool> AlignLefts; + TString Sep; + TVector<TString> Keys; + TVector<TString> Values; + TVector<bool> AlignLefts; public: - TKeyValuePrinter(const TString& sep = TString(": ")); + TKeyValuePrinter(const TString& sep = TString(": ")); ~TKeyValuePrinter(); template <typename TKey, typename TValue> @@ -21,8 +21,8 @@ public: return AddRowImpl(ToString(key), ToString(value), leftAlign); } - TString PrintToString() const; + TString PrintToString() const; private: - void AddRowImpl(const TString& key, const TString& value, bool leftAlign); + void AddRowImpl(const TString& key, const TString& value, bool leftAlign); }; |