26 #define PY_ARRAY_UNIQUE_SYMBOL itom_ARRAY_API
27 #define NO_IMPORT_ARRAY
29 #include "pythonWrapper.h"
39#include <qstringlist.h>
43#define PY_LIST_TUPLE 'l'
82 QString m_extendedValue;
87 QHash<QString, PyWorkspaceItem*> m_childs;
100 void loadDictionary(PyObject *obj,
const QString &fullNameParentItem =
"");
102 inline bool isGlobalWorkspace()
const {
return m_globalNotLocal; }
103 inline bool isRoot(
PyWorkspaceItem *item)
const {
return item == &m_rootItem; }
104 inline void emitGetChildNodes(
PyWorkspaceContainer *container, QString fullNameParentItem) { emit getChildNodes(container,fullNameParentItem); }
108 QMutex m_accessMutex;
109 QSet<QString> m_expandedFullNames;
112 static QChar delimiter;
115 void loadDictionaryRec(PyObject *obj,
const QString &fullNameParentItem,
PyWorkspaceItem *parentItem, QStringList &deletedKeys);
116 void parseSinglePyObject(
PyWorkspaceItem *item, PyObject *value,
const QString &fullName, QStringList &deletedKeys);
124 void initUnicodeConstants();
126 bool m_globalNotLocal;
127 PyObject *m_dictUnicode;
128 PyObject *m_slotsUnicode;
129 PyObject *m_mroUnicode;
132 void updateAvailable(
PyWorkspaceItem *rootItem, QString fullNameRoot, QStringList recentlyDeletedFullNames);
Definition pythonWorkspace.h:92
void appendSlotNamesToList(PyObject *objOrType, PyObject *slotNamesList)
initializes some Python unicode constant strings. Requires the GIL to do this.
Definition pythonWorkspace.cpp:160
bool isNotInBlacklist(PyObject *obj) const
appends a possible names in slots attribute of objOrType (object or type object) to pre-defined list ...
Definition pythonWorkspace.cpp:93
every item in the workspace is represented by one PyWorkspaceItem
Definition pythonWorkspace.h:64
bool m_isarrayelement
Definition pythonWorkspace.h:85
int m_compatibleParamBaseType
Definition pythonWorkspace.h:83
QString m_key
Definition pythonWorkspace.h:79
ChildState
Definition pythonWorkspace.h:73
@ stateChilds
Definition pythonWorkspace.h:75
@ stateNoChilds
Definition pythonWorkspace.h:74
QString m_type
Definition pythonWorkspace.h:80
QString m_name
Definition pythonWorkspace.h:78
ChildState m_childState
Definition pythonWorkspace.h:86
Definition apiFunctionsGraph.cpp:40