QGIS API Documentation 3.41.0-Master (af5edcb665c)
Loading...
Searching...
No Matches
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.
 

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 288 of file qgsprojutils.h.

Constructor & Destructor Documentation

◆ QgsProjContext()

QgsProjContext::QgsProjContext ( )

Definition at line 36 of file qgsprojutils.cpp.

◆ ~QgsProjContext()

QgsProjContext::~QgsProjContext ( )

Definition at line 41 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 50 of file qgsprojutils.cpp.


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