QGIS API Documentation 3.41.0-Master (45a0abf3bec)
Loading...
Searching...
No Matches
Public Member Functions | List of all members
QgsMeshDatasetIndex Class Reference

QgsMeshDatasetIndex is 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
 

Detailed Description

QgsMeshDatasetIndex is 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)

Note
The API is considered EXPERIMENTAL and can be changed without a notice
Since
QGIS 3.4

Definition at line 52 of file qgsmeshdataset.h.

Constructor & Destructor Documentation

◆ QgsMeshDatasetIndex()

QgsMeshDatasetIndex::QgsMeshDatasetIndex ( int  group = -1,
int  dataset = -1 
)

Creates an index. -1 represents invalid group/dataset.

Definition at line 25 of file qgsmeshdataset.cpp.

Member Function Documentation

◆ dataset()

int QgsMeshDatasetIndex::dataset ( ) const

Returns a dataset index within group()

Definition at line 34 of file qgsmeshdataset.cpp.

◆ group()

int QgsMeshDatasetIndex::group ( ) const

Returns a group index.

Definition at line 29 of file qgsmeshdataset.cpp.

◆ isValid()

bool QgsMeshDatasetIndex::isValid ( ) const

Returns whether index is valid, ie at least groups is set.

Definition at line 39 of file qgsmeshdataset.cpp.

◆ operator!=()

bool QgsMeshDatasetIndex::operator!= ( QgsMeshDatasetIndex  other) const

Definition at line 52 of file qgsmeshdataset.cpp.

◆ operator==()

bool QgsMeshDatasetIndex::operator== ( QgsMeshDatasetIndex  other) const

Definition at line 44 of file qgsmeshdataset.cpp.


The documentation for this class was generated from the following files: