Skip to content
Permalink
Browse files

Implement != operator, update sip

  • Loading branch information
rduivenvoorde committed Sep 7, 2020
1 parent f1ce637 commit 34c035631fa991e411b22b9e1276f84289a26cb5
@@ -258,6 +258,8 @@ If the range is empty and ``other`` is not, the range is changed and set to ``ot

bool operator==( const QgsTemporalRange<T> &other ) const;

bool operator!=( const QgsTemporalRange<T> &other ) const;

};


@@ -203,7 +203,7 @@ Emitted whenever the animation ``state`` changes.
Emitted whenever the navigation ``mode`` changes.
%End

void temporalExtentsChanged( QgsDateTimeRange extent );
void temporalExtentsChanged( const QgsDateTimeRange &extent );
%Docstring
Emitted whenever the temporalExtent ``extent`` changes.
%End
@@ -458,6 +458,11 @@ class QgsTemporalRange
mIncludeUpper == other.includeEnd();
}

bool operator!=( const QgsTemporalRange<T> &other ) const
{
return ( ! operator==( other ) );
}

private:

T mLower;

0 comments on commit 34c0356

Please sign in to comment.
You can’t perform that action at this time.