Valid index of ITreeModel.
More...
#include <AUI/Model/ATreeModelIndex.h>
|
| ATreeModelIndex (std::size_t row, std::size_t column, std::any userdata) noexcept |
|
template<typename T> |
T | as () const |
| any_cast the external user data stored in this vertex.
|
|
bool | hasValue () const noexcept |
|
std::size_t | row () const |
| row of the vertex relative to it's parent.
|
|
std::size_t | column () const |
| column of the vertex relative to it's parent.
|
|
|
struct { | |
|
} | ROOT | |
| Tag type to define root vertex.
|
|
Valid index of ITreeModel.
◆ ATreeModelIndex()
ATreeModelIndex::ATreeModelIndex |
( |
std::size_t | row, |
|
|
std::size_t | column, |
|
|
std::any | userdata ) |
|
inlineexplicitnoexcept |
- Parameters
-
row | row of the vertex relative to it's parent. |
column | column of the vertex relative to it's parent. |
userdata | userdata stored in this vertex. |
◆ as()
template<typename T>
T ATreeModelIndex::as |
( |
| ) |
const |
|
inlinenodiscard |
any_cast the external user data stored in this vertex.
- See also
- mUserdata
◆ [struct]
struct { ... } ATreeModelIndex::ROOT |
The documentation for this class was generated from the following file: