QGIS API Documentation
3.32.0-Lima (311a8cb8a6)
src
core
qgsvariantutils.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgsvariantutils.h
3
------------------
4
Date : January 2022
5
Copyright : (C) 2022 Nyall Dawson
6
Email : nyall dot dawson at gmail dot com
7
***************************************************************************
8
* *
9
* This program is free software; you can redistribute it and/or modify *
10
* it under the terms of the GNU General Public License as published by *
11
* the Free Software Foundation; either version 2 of the License, or *
12
* (at your option) any later version. *
13
* *
14
***************************************************************************/
15
16
#ifndef QGSVARIANTUTILS_H
17
#define QGSVARIANTUTILS_H
18
19
#include "qgis_core.h"
20
#include "
qgis_sip.h
"
21
#include "
qgis.h
"
22
31
class
CORE_EXPORT
QgsVariantUtils
32
{
33
public
:
34
40
static
QString typeToDisplayString( QVariant::Type type, QVariant::Type subType = QVariant::Type::Invalid );
41
50
static
bool
isNull(
const
QVariant &variant );
51
52
};
53
54
#endif
// QGSVARIANTUTILS_H
QgsVariantUtils
Contains utility functions for working with QVariants and QVariant types.
Definition:
qgsvariantutils.h:32
qgis.h
qgis_sip.h
Generated on Sun Jun 25 2023 11:54:04 for QGIS API Documentation by
1.9.4