Valid index of ITreeModel.
More...
Valid index of ITreeModel.
|
| 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. More...
|
|
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. More...
|
|
◆ 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 |
|
inline |
any_cast the external user data stored in this vertex.
- See also
- mUserdata
constexpr struct { ... } ATreeModelIndex::ROOT |
#include <AUI/Model/ATreeModelIndex.h>
The documentation for this class was generated from the following file: