Owning accepted row identity and bounded label, independent of editor draft and source lifetime.
More...
#include <combo_box.hpp>
|
|
struct | detail::ChoiceAccess |
Owning accepted row identity and bounded label, independent of editor draft and source lifetime.
◆ index()
| std::uint64_t portals::ChoiceSelection::index |
( |
| ) |
const |
|
noexcept |
- Returns
- Zero-based original source ordinal, or zero for an empty handle.
◆ operator bool()
| portals::ChoiceSelection::operator bool |
( |
| ) |
const |
|
explicitnoexcept |
- Returns
- Whether this handle represents an accepted source row.
◆ rowId()
| RowId portals::ChoiceSelection::rowId |
( |
| ) |
const |
|
noexcept |
- Returns
- Full stable source row identity, or zero for no selection.
◆ sourceRevision()
| std::uint64_t portals::ChoiceSelection::sourceRevision |
( |
| ) |
const |
|
noexcept |
- Returns
- Exact accepted source revision, or zero for no selection.
◆ text()
| std::string_view portals::ChoiceSelection::text |
( |
| ) |
const |
|
noexcept |
- Returns
- Original UTF-8 label borrowed while this handle owns its value.
The documentation for this class was generated from the following file: