QGIS API Documentation  3.23.0-Master (eb871beae0)
Public Member Functions | Static Public Member Functions | List of all members
QgsProjContext Class Reference

Used to create and store a proj context object, correctly freeing the context upon destruction. More...

#include <qgsprojutils.h>

Public Member Functions

 QgsProjContext ()
 
 ~QgsProjContext ()
 

Static Public Member Functions

static PJ_CONTEXTget ()
 Returns a thread local instance of a proj context, safe for use in the current thread. More...
 

Detailed Description

Used to create and store a proj context object, correctly freeing the context upon destruction.

Note
Not available in Python bindings
Since
QGIS 3.8

Definition at line 230 of file qgsprojutils.h.

Constructor & Destructor Documentation

◆ QgsProjContext()

QgsProjContext::QgsProjContext ( )

Definition at line 34 of file qgsprojutils.cpp.

◆ ~QgsProjContext()

QgsProjContext::~QgsProjContext ( )

Definition at line 39 of file qgsprojutils.cpp.

Member Function Documentation

◆ get()

PJ_CONTEXT * QgsProjContext::get ( )
static

Returns a thread local instance of a proj context, safe for use in the current thread.

Definition at line 48 of file qgsprojutils.cpp.


The documentation for this class was generated from the following files: