QGIS API Documentation  3.14.0-Pi (9f7028fd23)
Public Member Functions | Static Public Member Functions | List of all members
QgsProjContext Class Reference

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

Constructor & Destructor Documentation

◆ QgsProjContext()

QgsProjContext::QgsProjContext ( )

Definition at line 38 of file qgsprojutils.cpp.

◆ ~QgsProjContext()

QgsProjContext::~QgsProjContext ( )

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


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