QGIS API Documentation
3.43.0-Master (2a27c31701b)
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
w
z
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
w
z
Variables
Typedefs
Enumerations
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
2
3
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
2
3
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
o
p
r
s
t
u
v
w
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Related Symbols
3
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
Files
File List
File Members
All
3
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
z
Variables
a
b
c
d
e
f
g
h
i
l
n
o
p
q
r
s
t
u
w
Typedefs
3
a
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
Enumerator
Macros
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
w
y
Loading...
Searching...
No Matches
src
core
qgslocalec.cpp
Go to the documentation of this file.
1
/***************************************************************************
2
qgslocalec.h - temporary C numeric locale
3
-------------------
4
begin : Jun 15th 2015
5
copyright : (C) 2015 by Juergen E. Fischer
6
email : jef at norbit dot de
7
***************************************************************************/
8
9
/***************************************************************************
10
* *
11
* This program is free software; you can redistribute it and/or modify *
12
* it under the terms of the GNU General Public License as published by *
13
* the Free Software Foundation; either version 2 of the License, or *
14
* (at your option) any later version. *
15
* *
16
***************************************************************************/
17
18
#include "
qgslocalec.h
"
19
20
#include <locale>
21
#include <QByteArray>
22
23
QMutex QgsLocaleNumC::sLocaleLock;
24
25
QgsLocaleNumC::QgsLocaleNumC
()
26
{
27
sLocaleLock.lock();
28
29
mOldlocale = setlocale( LC_NUMERIC,
nullptr
);
30
if
( mOldlocale )
31
mOldlocale = qstrdup( mOldlocale );
32
33
setlocale( LC_NUMERIC,
"C"
);
34
}
25
QgsLocaleNumC::QgsLocaleNumC
() {
…
}
35
36
QgsLocaleNumC::~QgsLocaleNumC
()
37
{
38
setlocale( LC_NUMERIC, mOldlocale );
39
delete
[] mOldlocale;
40
41
sLocaleLock.unlock();
42
}
36
QgsLocaleNumC::~QgsLocaleNumC
() {
…
}
QgsLocaleNumC::QgsLocaleNumC
QgsLocaleNumC()
Definition
qgslocalec.cpp:25
QgsLocaleNumC::~QgsLocaleNumC
~QgsLocaleNumC()
Definition
qgslocalec.cpp:36
qgslocalec.h
Generated on Tue Mar 18 2025 12:31:40 for QGIS API Documentation by
1.9.8