QGIS API Documentation 3.99.0-Master (8e76e220402)
Loading...
Searching...
No Matches
qgsarrowiterator.cpp File Reference
#include "qgsarrowiterator.h"
#include <nlohmann/json.hpp>
#include "nanoarrow/nanoarrow.hpp"
#include "qgsfeatureiterator.h"
#include "qgsvectorlayer.h"
#include <QString>
Include dependency graph for qgsarrowiterator.cpp:

Go to the source code of this file.

Macros

#define QGIS_NANOARROW_THROW_NOT_OK(expr)
#define QGIS_NANOARROW_THROW_NOT_OK_ERR(expr, err)

Macro Definition Documentation

◆ QGIS_NANOARROW_THROW_NOT_OK

#define QGIS_NANOARROW_THROW_NOT_OK ( expr)
Value:
do \
{ \
const int ec = ( expr ); \
if ( ec != NANOARROW_OK ) \
{ \
throw QgsException( u"nanoarrow error (%1)"_s.arg( ec ) ); \
} \
} while ( 0 )
Defines a QGIS exception class.

Definition at line 38 of file qgsarrowiterator.cpp.

◆ QGIS_NANOARROW_THROW_NOT_OK_ERR

#define QGIS_NANOARROW_THROW_NOT_OK_ERR ( expr,
err )
Value:
do \
{ \
const int ec = ( expr ); \
if ( ec != NANOARROW_OK ) \
{ \
throw QgsException( u"nanoarrow error (%1): %2"_s.arg( ec ).arg( QString::fromUtf8( ( err )->message ) ) ); \
} \
} while ( 0 )

Definition at line 28 of file qgsarrowiterator.cpp.