\doxysection{/home/chr/devel/\+Ph\+D/\+Environment/pub/\+PCBEnv/pcbenv/cxx/\+Py.hpp File Reference}
\hypertarget{Py_8hpp}{}\label{Py_8hpp}\index{/home/chr/devel/PhD/Environment/pub/PCBEnv/pcbenv/cxx/Py.hpp@{/home/chr/devel/PhD/Environment/pub/PCBEnv/pcbenv/cxx/Py.hpp}}
{\ttfamily \#include $<$numpy/ndarrayobject.\+h$>$}\newline
{\ttfamily \#include "{}Geometry.\+hpp"{}}\newline
{\ttfamily \#include "{}Py\+Object.\+hpp"{}}\newline
\doxysubsubsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
class \mbox{\hyperlink{classpy_1_1GIL__guard}{py\+::\+GIL\+\_\+guard}}
\begin{DoxyCompactList}\small\item\em The GIL. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsubsection*{Namespaces}
\begin{DoxyCompactItemize}
\item 
namespace \mbox{\hyperlink{namespacepy}{py}}
\end{DoxyCompactItemize}
\doxysubsubsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \mbox{\hyperlink{Py_8hpp_a0f59a78fc54ecb03b11a23e44345fa9b}{PY\+\_\+\+ONLY}}(args...)
\item 
\#define \mbox{\hyperlink{Py_8hpp_ab6e6ee86736f9ebb56e74ae21bf3ff8a}{NPY\+\_\+\+NO\+\_\+\+DEPRECATED\+\_\+\+API}}~NPY\+\_\+1\+\_\+7\+\_\+\+API\+\_\+\+VERSION
\item 
\#define \mbox{\hyperlink{Py_8hpp_ad2cd12e09a08db7cbcae2e74f723d6c4}{NO\+\_\+\+IMPORT\+\_\+\+ARRAY}}
\item 
\#define \mbox{\hyperlink{Py_8hpp_a7d399fcbebb74300921248d831d6ab6f}{PY\+\_\+\+ARRAY\+\_\+\+UNIQUE\+\_\+\+SYMBOL}}~\+\_\+pcbenv2\+\_\+module\+\_\+\+Py\+Array\+\_\+\+API
\end{DoxyCompactItemize}
\doxysubsubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
{\footnotesize template$<$typename Ty = Py\+Object$>$ }\\Ty \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{namespacepy_a0ea3c0678224f6593a68a2ede6426465}{py\+::\+Value\+Error}} (const char \texorpdfstring{$\ast$}{*}s)
\begin{DoxyCompactList}\small\item\em Error return helpers. \end{DoxyCompactList}\item 
{\footnotesize template$<$typename Ty = Py\+Object$>$ }\\Ty \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{namespacepy_a1d8b4529fff5c481e9c39b57d9d29f46}{py\+::\+Memory\+Error}} (const char \texorpdfstring{$\ast$}{*}s)
\item 
{\footnotesize template$<$typename Ty = Py\+Object$>$ }\\Ty \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{namespacepy_a1a0e85ea7a86d711c78cdc9ebc5d74de}{py\+::\+Exception}} (Py\+Object \texorpdfstring{$\ast$}{*}exc, const char \texorpdfstring{$\ast$}{*}s)
\item 
Py\+Object \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{namespacepy_a5d49a4d14e4aebcf2ebcafb6f6f0a728}{py\+::\+Exception}} (const std\+::exception \&e)
\item 
Py\+Object \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{namespacepy_a54fc6f6085c99c46e234e8132b457057}{py\+::\+String}} (const char \texorpdfstring{$\ast$}{*}s)
\begin{DoxyCompactList}\small\item\em Conversion to Python. \end{DoxyCompactList}\item 
Py\+Object \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{namespacepy_aef26d0fc7253f98f9905a4aab093497b}{py\+::\+String}} (const std\+::string \&s)
\item 
bool \mbox{\hyperlink{namespacepy_a929c0f0bab512bc212dce5dc6f847681}{py\+::\+Tuple\+N\+\_\+\+Check}} (Py\+Object \texorpdfstring{$\ast$}{*}\mbox{\hyperlink{namespacepy}{py}}, \mbox{\hyperlink{Defs_8hpp_a69aa29b598b851b0640aa225a9e5d61d}{uint}} n)
\begin{DoxyCompactList}\small\item\em Conversion from Python. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{namespacepy_abdbbc54cd99e85395e07273847234f90}{py\+::\+Tuple\+Min\+\_\+\+Check}} (Py\+Object \texorpdfstring{$\ast$}{*}\mbox{\hyperlink{namespacepy}{py}}, \mbox{\hyperlink{Defs_8hpp_a69aa29b598b851b0640aa225a9e5d61d}{uint}} n)
\item 
double \mbox{\hyperlink{namespacepy_a694ae181e72334a124abbc16b4e7508a}{py\+::\+Number\+\_\+\+As\+Double}} (Py\+Object \texorpdfstring{$\ast$}{*}\mbox{\hyperlink{namespacepy}{py}})
\item 
bool \mbox{\hyperlink{namespacepy_a0010b2909266fdb823e469ea0cf32015}{py\+::\+String\+\_\+\+Check}} (Py\+Object \texorpdfstring{$\ast$}{*}\mbox{\hyperlink{namespacepy}{py}})
\item 
std\+::string \mbox{\hyperlink{namespacepy_a3ae745ca47e254accbe3f1c8e7a1c3fe}{py\+::\+String\+\_\+\+As\+Std\+String}} (Py\+Object \texorpdfstring{$\ast$}{*}\mbox{\hyperlink{namespacepy}{py}})
\item 
std\+::string\+\_\+view \mbox{\hyperlink{namespacepy_a63c43bd98ae454e4a732eda7bc861e7c}{py\+::\+String\+\_\+\+As\+String\+View}} (Py\+Object \texorpdfstring{$\ast$}{*}\mbox{\hyperlink{namespacepy}{py}})
\item 
std\+::string \mbox{\hyperlink{namespacepy_aaebcd38e199a3d7e3bc1e9706685bfe2}{py\+::\+String\+\_\+\+As\+Std\+String}} (Py\+Object \texorpdfstring{$\ast$}{*}\mbox{\hyperlink{namespacepy}{py}}, const char \texorpdfstring{$\ast$}{*}error)
\item 
void \mbox{\hyperlink{namespacepy_a574781882a35a9444e6de903402e656d}{py\+::\+Dict\+\_\+\+Steal\+Item\+String}} (Py\+Object \texorpdfstring{$\ast$}{*}dict, const char \texorpdfstring{$\ast$}{*}key, Py\+Object \texorpdfstring{$\ast$}{*}v)
\item 
void \mbox{\hyperlink{namespacepy_ad270c2ce47c665a90510cf03f14122a9}{py\+::\+Dict\+\_\+\+Steal\+Item}} (Py\+Object \texorpdfstring{$\ast$}{*}dict, Py\+Object \texorpdfstring{$\ast$}{*}key, Py\+Object \texorpdfstring{$\ast$}{*}v)
\item 
void \mbox{\hyperlink{namespacepy_acee42443890639db054c2acb32485460}{py\+::\+DECREF\+\_\+safe}} (Py\+Object \texorpdfstring{$\ast$}{*}v)
\item 
Py\+Object \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{namespacepy_a2afa12246591fa73deb669310975ad8f}{py\+::\+None}} ()
\item 
Py\+Object \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{namespacepy_a1554550374e1a86d95114645a4b5db5f}{py\+::\+New\+Ref}} (Py\+Object \texorpdfstring{$\ast$}{*}\mbox{\hyperlink{namespacepy}{py}})
\end{DoxyCompactItemize}


\label{doc-define-members}
\Hypertarget{Py_8hpp_doc-define-members}
\doxysubsection{Macro Definition Documentation}
\Hypertarget{Py_8hpp_ad2cd12e09a08db7cbcae2e74f723d6c4}\index{Py.hpp@{Py.hpp}!NO\_IMPORT\_ARRAY@{NO\_IMPORT\_ARRAY}}
\index{NO\_IMPORT\_ARRAY@{NO\_IMPORT\_ARRAY}!Py.hpp@{Py.hpp}}
\doxysubsubsection{\texorpdfstring{NO\_IMPORT\_ARRAY}{NO\_IMPORT\_ARRAY}}
{\footnotesize\ttfamily \label{Py_8hpp_ad2cd12e09a08db7cbcae2e74f723d6c4} 
\#define NO\+\_\+\+IMPORT\+\_\+\+ARRAY}

\Hypertarget{Py_8hpp_ab6e6ee86736f9ebb56e74ae21bf3ff8a}\index{Py.hpp@{Py.hpp}!NPY\_NO\_DEPRECATED\_API@{NPY\_NO\_DEPRECATED\_API}}
\index{NPY\_NO\_DEPRECATED\_API@{NPY\_NO\_DEPRECATED\_API}!Py.hpp@{Py.hpp}}
\doxysubsubsection{\texorpdfstring{NPY\_NO\_DEPRECATED\_API}{NPY\_NO\_DEPRECATED\_API}}
{\footnotesize\ttfamily \label{Py_8hpp_ab6e6ee86736f9ebb56e74ae21bf3ff8a} 
\#define NPY\+\_\+\+NO\+\_\+\+DEPRECATED\+\_\+\+API~NPY\+\_\+1\+\_\+7\+\_\+\+API\+\_\+\+VERSION}

\Hypertarget{Py_8hpp_a7d399fcbebb74300921248d831d6ab6f}\index{Py.hpp@{Py.hpp}!PY\_ARRAY\_UNIQUE\_SYMBOL@{PY\_ARRAY\_UNIQUE\_SYMBOL}}
\index{PY\_ARRAY\_UNIQUE\_SYMBOL@{PY\_ARRAY\_UNIQUE\_SYMBOL}!Py.hpp@{Py.hpp}}
\doxysubsubsection{\texorpdfstring{PY\_ARRAY\_UNIQUE\_SYMBOL}{PY\_ARRAY\_UNIQUE\_SYMBOL}}
{\footnotesize\ttfamily \label{Py_8hpp_a7d399fcbebb74300921248d831d6ab6f} 
\#define PY\+\_\+\+ARRAY\+\_\+\+UNIQUE\+\_\+\+SYMBOL~\+\_\+pcbenv2\+\_\+module\+\_\+\+Py\+Array\+\_\+\+API}

\Hypertarget{Py_8hpp_a0f59a78fc54ecb03b11a23e44345fa9b}\index{Py.hpp@{Py.hpp}!PY\_ONLY@{PY\_ONLY}}
\index{PY\_ONLY@{PY\_ONLY}!Py.hpp@{Py.hpp}}
\doxysubsubsection{\texorpdfstring{PY\_ONLY}{PY\_ONLY}}
{\footnotesize\ttfamily \label{Py_8hpp_a0f59a78fc54ecb03b11a23e44345fa9b} 
\#define PY\+\_\+\+ONLY(\begin{DoxyParamCaption}\item[{}]{args...}{}\end{DoxyParamCaption})}

{\bfseries Value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{args}

\end{DoxyCode}
