MapPair.hpp
Go to the documentation of this file.
38 typedef typename std::conditional<std::is_same<KeyType, String>::value, const KeyType*, KeyType>::type KeyStoreType;
65 template <typename T = KeyType> typename std::enable_if<!std::is_class<T>::value, KeyType>::type key() const
describes a pair mapping key => data for a specified key type
Definition: MapPair.hpp:37
const ContentType & content() const
Accessor to get a reference to the content.
Definition: MapPair.hpp:83
std::enable_if<!std::is_class< T >::value, KeyType >::type key() const
Get the key (non-class key types)
Definition: MapPair.hpp:65
std::enable_if< std::is_same< T, String >::value, const KeyType & >::type key() const
Get the key (String key type)
Definition: MapPair.hpp:75
static const MapPair empty()
Get an empty Pair object, identifies as invalid when lookup fails.
Definition: MapPair.hpp:57
static constexpr const String & empty()
Return an empty object which evaluates to null.
Definition: Object.hpp:160
Definition: WebConstants.h:72
Definition: Array.hpp:108
std::enable_if< std::is_class< ObjectType >::value, size_t >::type print(Print &p, const ObjectType &object)
Print an object.
Definition: Print.hpp:40