mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-13 00:03:09 -04:00
fix class declaration
This commit is contained in:
parent
5a8ed1d4d9
commit
e957224c14
@ -9,7 +9,8 @@
|
||||
|
||||
|
||||
|
||||
template <T> class QgsRange
|
||||
template <T>
|
||||
class QgsRange
|
||||
{
|
||||
%Docstring
|
||||
A template based class for storing ranges (lower to upper values).
|
||||
@ -27,6 +28,10 @@ template <T> class QgsRange
|
||||
.. note::
|
||||
|
||||
not available in Python bindings (but class provided for template-based inheritance)
|
||||
%End
|
||||
|
||||
%TypeHeaderCode
|
||||
#include "qgsrange.h"
|
||||
%End
|
||||
public:
|
||||
|
||||
@ -117,7 +122,8 @@ typedef QgsRange< double > QgsDoubleRange;
|
||||
typedef QgsRange< int > QgsIntRange;
|
||||
|
||||
|
||||
template <T> class QgsTemporalRange
|
||||
template <T>
|
||||
class QgsTemporalRange
|
||||
{
|
||||
%Docstring
|
||||
A template based class for storing temporal ranges (beginning to end values).
|
||||
@ -134,6 +140,10 @@ template <T> class QgsTemporalRange
|
||||
.. note::
|
||||
|
||||
not available in Python bindings (but class provided for template-based inheritance)
|
||||
%End
|
||||
|
||||
%TypeHeaderCode
|
||||
#include "qgsrange.h"
|
||||
%End
|
||||
public:
|
||||
|
||||
|
@ -39,7 +39,8 @@
|
||||
* \see QgsIntRange
|
||||
* \note not available in Python bindings (but class provided for template-based inheritance)
|
||||
*/
|
||||
template <class T> class QgsRange
|
||||
template <typename T>
|
||||
class CORE_EXPORT QgsRange
|
||||
{
|
||||
public:
|
||||
|
||||
@ -213,7 +214,8 @@ typedef QgsRange< int > QgsIntRange;
|
||||
* \see QgsDateRange
|
||||
* \note not available in Python bindings (but class provided for template-based inheritance)
|
||||
*/
|
||||
template <class T> class QgsTemporalRange
|
||||
template <typename T>
|
||||
class CORE_EXPORT QgsTemporalRange
|
||||
{
|
||||
public:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user