QGIS API Documentation  3.8.0-Zanzibar (11aff65)
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 145 of file qgsprojutils.h.

Constructor & Destructor Documentation

◆ QgsProjContext()

QgsProjContext::QgsProjContext ( )

Definition at line 36 of file qgsprojutils.cpp.

◆ ~QgsProjContext()

QgsProjContext::~QgsProjContext ( )

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


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