FastLED
3.9.15
Loading...
Searching...
No Matches
◆
get()
[1/2]
template<typename
Key
, typename Value, size_t N>
Value
fl::FixedMap
<
Key
, Value, N >::get
(
const
Key
&
key
,
bool *
has
=
nullptr
) const
inline
Definition at line
111
of file
map.h
.
111
{
112
const_iterator
it
=
find
(
key
);
113
if
(
it
!=
end
()) {
114
if
(
has
) {
115
*
has
=
true
;
116
}
117
return
it
->second;
118
}
119
if
(
has
) {
120
*
has
=
false
;
121
}
122
return
Value
();
123
}
fl::FixedMap::end
iterator end()
Definition
map.h:36
fl::FixedMap::has
bool has(const Key &it) const
Definition
map.h:223
fl::FixedMap::find
iterator find(const Key &key)
Definition
map.h:40
fl::FixedMap::const_iterator
VectorType::const_iterator const_iterator
Definition
map.h:30
fl::FixedMap
Definition
map.h:24
fl
FixedMap
Generated on Thu May 29 2025 04:44:58 for FastLED by
1.13.2