QGIS API Documentation 3.36.0-Maidenhead (09951dc0acf)
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 242 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: