class EE::UI::Models::ModelIndex

#include <modelindex.hpp>

class ModelIndex {
public:
    // methods

    bool isValid() const;
    const Int64& row() const;
    const Int64& column() const;
    Variant data(ModelRole = ModelRole::Display) const;
    void* internalData() const;

    template <typename T>
    T* ref() const;

    Int64 internalId() const;
    ModelIndex parent() const;
    bool hasParent() const;
    bool operator<(const ModelIndex& other) const;
    bool operator==(const ModelIndex& other) const;
    bool operator!=(const ModelIndex& other) const;
    const Model* model() const;
    ModelIndex sibling(int row, int column) const;
    ModelIndex siblingAtColumn(int column) const;
    std::string toString() const;
};