Valid index of ITreeModel.
#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.
|
| |
◆ 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 |
◆ [struct]#
| struct { ... } ATreeModelIndex::ROOT |