#include <Wt/WModelIndex>
Public Member Functions | |
| WModelIndex () | |
| Create a new (invalid) WModelIndex. | |
| int | column () const |
| Get the column for this model index. | |
| int | row () const |
| Get the row for this model index. | |
| boost::any | data () const |
| Get the data in the model at this index. | |
| bool | isValid () const |
| Return if this index points to anything. | |
|
const WAbstractItemModel * | model () const |
| Return the abstract item model to which this (valid) index is bound. | |
An index is immutable, and a valid index can only be created using the WAbstractItemModel::index(int row, int column) method.
| Wt::WModelIndex::WModelIndex | ( | ) |
Create a new (invalid) WModelIndex.
Returns a model index for which isValid() return false.
1.5.3