QGIS API Documentation 3.99.0-Master (21b3aa880ba)
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 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( QStringLiteral( "nanoarrow error (%1)" ).arg( ec ) ); \
} \
} while ( 0 )
Defines a QGIS exception class.

Definition at line 34 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( QStringLiteral( "nanoarrow error (%1): %2" ).arg( ec ).arg( QString::fromUtf8( ( err )->message ) ) ); \
} \
} while ( 0 )

Definition at line 24 of file qgsarrowiterator.cpp.