|
QGIS API Documentation 3.99.0-Master (752b475928d)
|
An index that identifies the dataset group (e.g. More...
#include <qgsmeshdataset.h>
Public Member Functions | |
| QgsMeshDatasetIndex (int group=-1, int dataset=-1) | |
| Creates an index. -1 represents invalid group/dataset. | |
| int | dataset () const |
| Returns a dataset index within group(). | |
| int | group () const |
| Returns a group index. | |
| bool | isValid () const |
| Returns whether index is valid, ie at least groups is set. | |
| bool | operator!= (QgsMeshDatasetIndex other) const |
| bool | operator== (QgsMeshDatasetIndex other) const |
An index that identifies the dataset group (e.g.
wind speed) and a dataset in this group (e.g. magnitude of wind speed in particular time).
Definition at line 52 of file qgsmeshdataset.h.
| QgsMeshDatasetIndex::QgsMeshDatasetIndex | ( | int | group = -1, |
| int | dataset = -1 ) |
Creates an index. -1 represents invalid group/dataset.
Definition at line 27 of file qgsmeshdataset.cpp.
| int QgsMeshDatasetIndex::dataset | ( | ) | const |
Returns a dataset index within group().
Definition at line 36 of file qgsmeshdataset.cpp.
| int QgsMeshDatasetIndex::group | ( | ) | const |
Returns a group index.
Definition at line 31 of file qgsmeshdataset.cpp.
| bool QgsMeshDatasetIndex::isValid | ( | ) | const |
Returns whether index is valid, ie at least groups is set.
Definition at line 41 of file qgsmeshdataset.cpp.
| bool QgsMeshDatasetIndex::operator!= | ( | QgsMeshDatasetIndex | other | ) | const |
Definition at line 54 of file qgsmeshdataset.cpp.
| bool QgsMeshDatasetIndex::operator== | ( | QgsMeshDatasetIndex | other | ) | const |
Definition at line 46 of file qgsmeshdataset.cpp.