itom 2.2.1
|
every item in the workspace is represented by one PyWorkspaceItem More...
#include <pythonWorkspace.h>
Public Types | |
enum | ChildState { stateNoChilds = 0x00, stateChilds = 0x01 } |
Public Member Functions | |
PyWorkspaceItem (const PyWorkspaceItem &other) | |
Public Attributes | |
QString | m_name |
QString | m_key |
QString | m_type |
QString | m_value |
QString | m_extendedValue |
int | m_compatibleParamBaseType |
bool | m_exist |
bool | m_isarrayelement |
ChildState | m_childState |
QHash< QString, PyWorkspaceItem * > | m_childs |
every item in the workspace is represented by one PyWorkspaceItem
indicates if this type of variable can have any childs and the expand indicator should be displayed in the tree view.
sets the corresponding type of ito::ParamBase::Type that fits to the variable or 0 if no ito::ParamBase::Type fits.
true if this variable is part of a list, tuple, dict, mapping, ... If the python type does not allow any child, m_isarrayelement is set to false.
QString ito::PyWorkspaceItem::m_key |
type of this item. The string has the following form XY:name, where X is PY_LIST_TUPLE, PY_MAPPING, PY_ATTR or PY_DICT (depends where this variable is member from), Y is PY_NUMBER or PY_STRING (depends on the type of m_name, e.g. variable string name or index of list or tuple) and name is m_name.
QString ito::PyWorkspaceItem::m_name |
name of the item as it is visible in the first column of the workspace (either name of variable or index of list, tuple...)
QString ito::PyWorkspaceItem::m_type |
Python internal type name of the variable (ob_type->tp_name of PyObject)