Poco

template < class TKey, class TValue >

class KeyValueArgs

File Information

Library: Foundation
Package: Cache
Header: Poco/KeyValueArgs.h

Description

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.

Member Summary

Member Functions: key, value

Constructors

KeyValueArgs inline

KeyValueArgs(
    const KeyValueArgs & args
);

KeyValueArgs inline

KeyValueArgs(
    const TKey & aKey,
    const TValue & aVal
);

Destructor

~KeyValueArgs inline

~KeyValueArgs();

Member Functions

key inline

const TKey & key() const;

Returns a reference to the key,

value inline

const TValue & value() const;

Returns a Reference to the value.

Variables

_key protected

const TKey & _key;

_value protected

const TValue & _value;

Securely control IoT edge devices from anywhere   Connect a Device