KDStateMachineEditor API Documentation 2.1
Loading...
Searching...
No Matches
Public Member Functions | List of all members
LocaleLocker Class Reference

#include <graphvizlayouterbackend_p.h>

Public Member Functions

 LocaleLocker ()
 
 ~LocaleLocker ()
 

Detailed Description

RAII-based guard for setting the locale to "C" during this object's lifetime

Graphviz internally uses atof() and friends to convert strings to numbers, and these are locale-specific. We need to make sure the current locale is "C" so these conversions are done correctly.

Also see: https://marc.info/?l=graphviz-interest&m=129408843223794&w=2

Definition at line 102 of file graphvizlayouterbackend_p.h.

Constructor & Destructor Documentation

◆ LocaleLocker()

LocaleLocker::LocaleLocker ( )
inline

Definition at line 105 of file graphvizlayouterbackend_p.h.

◆ ~LocaleLocker()

LocaleLocker::~LocaleLocker ( )
inline

Definition at line 111 of file graphvizlayouterbackend_p.h.


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

© Klarälvdalens Datakonsult AB (KDAB)
"The Qt, C++ and OpenGL Experts"
https://www.kdab.com/
KDStateMachineEditor
Create Qt State Machine metacode using a graphical user interface
https://github.com/KDAB/KDStateMachineEditor
Generated on Tue Jul 15 2025 15:21:47 for KDStateMachineEditor API Documentation by doxygen 1.9.8