![]() |
Zen
A cross-platform functional programming language
|
Class holding result of a find() in a dict. More...
#include <zbl.hpp>
Public Member Functions | |
| found (typename QMap< K, V >::const_iterator iter, typename QMap< K, V >::const_iterator end) | |
| Default constructor. | |
| operator bool () const | |
| Return whether the value is found. | |
| const V & | operator* () const |
| Return a reference to the found value. | |
Private Attributes | |
| bool | _found |
| Whether the value is found. | |
| QMap< K, V >::const_iterator | _iter |
| Iterator pointing to found value. | |
Class holding result of a find() in a dict.
| found | ( | typename QMap< K, V >::const_iterator | iter, |
| typename QMap< K, V >::const_iterator | end | ||
| ) | [inline] |
Default constructor.
| iter | The iterator instance |
| end | Last item in the list |
| operator bool | ( | ) | const [inline] |
Return whether the value is found.
| const V& operator* | ( | ) | const [inline] |
Return a reference to the found value.