QgsMeshDatasetIndex class
QgsMeshDatasetIndex is index that identifies the dataset group (e.g.
Contents
wind speed) and a dataset in this group (e.g. magnitude of wind speed in particular time)
Constructors, destructors, conversion operators
- QgsMeshDatasetIndex(int group = -1, int dataset = -1)
- Creates an index. -1 represents invalid group/dataset.
Public functions
- auto dataset() const -> int
- Returns a dataset index within group()
- auto group() const -> int
- Returns a group index.
- auto isValid() const -> bool
- Returns whether index is valid, ie at least groups is set.
- auto operator!=(const QgsMeshDatasetIndex& other) const -> bool
- Inequality operator.
- auto operator==(const QgsMeshDatasetIndex& other) const -> bool
- Equality operator.