aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/poco/Foundation/include/Poco/KeyValueArgs.h
diff options
context:
space:
mode:
authororivej <orivej@yandex-team.ru>2022-02-10 16:44:49 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:44:49 +0300
commit718c552901d703c502ccbefdfc3c9028d608b947 (patch)
tree46534a98bbefcd7b1f3faa5b52c138ab27db75b7 /contrib/libs/poco/Foundation/include/Poco/KeyValueArgs.h
parente9656aae26e0358d5378e5b63dcac5c8dbe0e4d0 (diff)
downloadydb-718c552901d703c502ccbefdfc3c9028d608b947.tar.gz
Restoring authorship annotation for <orivej@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/libs/poco/Foundation/include/Poco/KeyValueArgs.h')
-rw-r--r--contrib/libs/poco/Foundation/include/Poco/KeyValueArgs.h146
1 files changed, 73 insertions, 73 deletions
diff --git a/contrib/libs/poco/Foundation/include/Poco/KeyValueArgs.h b/contrib/libs/poco/Foundation/include/Poco/KeyValueArgs.h
index cdcc4e1cec..d9714cb7eb 100644
--- a/contrib/libs/poco/Foundation/include/Poco/KeyValueArgs.h
+++ b/contrib/libs/poco/Foundation/include/Poco/KeyValueArgs.h
@@ -1,73 +1,73 @@
-//
-// KeyValueArgs.h
-//
-// Library: Foundation
-// Package: Cache
-// Module: KeyValueArgs
-//
-// Definition of the KeyValueArgs class.
-//
-// Copyright (c) 2006, Applied Informatics Software Engineering GmbH.
-// and Contributors.
-//
-// SPDX-License-Identifier: BSL-1.0
-//
-
-
-#ifndef Foundation_KeyValueArgs_INCLUDED
-#define Foundation_KeyValueArgs_INCLUDED
-
-
-#include "Poco/Foundation.h"
-
-
-namespace Poco {
-
-
-template <class TKey, class TValue>
-class KeyValueArgs
- /// Simply event arguments class to transfer a key and a value via an event call.
- /// Note that key and value are *NOT* copied, only references to them are stored.
-{
-public:
- KeyValueArgs(const TKey& aKey, const TValue& aVal):
- _key(aKey),
- _value(aVal)
- {
- }
-
- KeyValueArgs(const KeyValueArgs& args):
- _key(args._key),
- _value(args._value)
- {
- }
-
- ~KeyValueArgs()
- {
- }
-
- const TKey& key() const
- /// Returns a reference to the key,
- {
- return _key;
- }
-
- const TValue& value() const
- /// Returns a Reference to the value.
- {
- return _value;
- }
-
-protected:
- const TKey& _key;
- const TValue& _value;
-
-private:
- KeyValueArgs& operator = (const KeyValueArgs& args);
-};
-
-
-} // namespace Poco
-
-
-#endif // Foundation_KeyValueArgs_INCLUDED
+//
+// KeyValueArgs.h
+//
+// Library: Foundation
+// Package: Cache
+// Module: KeyValueArgs
+//
+// Definition of the KeyValueArgs class.
+//
+// Copyright (c) 2006, Applied Informatics Software Engineering GmbH.
+// and Contributors.
+//
+// SPDX-License-Identifier: BSL-1.0
+//
+
+
+#ifndef Foundation_KeyValueArgs_INCLUDED
+#define Foundation_KeyValueArgs_INCLUDED
+
+
+#include "Poco/Foundation.h"
+
+
+namespace Poco {
+
+
+template <class TKey, class TValue>
+class KeyValueArgs
+ /// Simply event arguments class to transfer a key and a value via an event call.
+ /// Note that key and value are *NOT* copied, only references to them are stored.
+{
+public:
+ KeyValueArgs(const TKey& aKey, const TValue& aVal):
+ _key(aKey),
+ _value(aVal)
+ {
+ }
+
+ KeyValueArgs(const KeyValueArgs& args):
+ _key(args._key),
+ _value(args._value)
+ {
+ }
+
+ ~KeyValueArgs()
+ {
+ }
+
+ const TKey& key() const
+ /// Returns a reference to the key,
+ {
+ return _key;
+ }
+
+ const TValue& value() const
+ /// Returns a Reference to the value.
+ {
+ return _value;
+ }
+
+protected:
+ const TKey& _key;
+ const TValue& _value;
+
+private:
+ KeyValueArgs& operator = (const KeyValueArgs& args);
+};
+
+
+} // namespace Poco
+
+
+#endif // Foundation_KeyValueArgs_INCLUDED