23 #ifndef PYTHONITOMMETAOBJECT_H
24 #define PYTHONITOMMETAOBJECT_H
26 #include "../global.h"
28 #include <qbytearray.h>
29 #include <qmetaobject.h>
43 m_className = QByteArray(className);
47 m_objName(obj->objectName().toLatin1()),
51 m_className = QByteArray(obj->metaObject()->className());
55 QByteArray m_className;
56 unsigned int m_objectID;
70 QMetaMethod::MethodType
type,
71 QMetaMethod::Access
access,
84 inline QMetaMethod::MethodType
type()
const {
return m_type; }
93 inline bool checkMethod(QByteArray &name,
int nrOfArgs)
const {
return (name ==
m_name && nrOfArgs ==
m_nrOfArgs); }
107 typedef QList<MethodDescription> MethodDescriptionList;
156 DELETE_AND_SET_NULL_ARRAY(
m_args);
159 inline void** args() {
return m_args; };
174 m_args[0] = QMetaType::create(type, NULL);
190 if((
int)index < 0 || (
int)index >=
m_nrOfParams)
return;
207 #endif // PYTHONITOMMETAOBJECT_H
bool isValid() const
Definition: pythonItomMetaObject.h:83
int m_nrOfArgs
Definition: pythonItomMetaObject.h:102
int retType() const
Definition: pythonItomMetaObject.h:88
QMetaMethod::Access access() const
Definition: pythonItomMetaObject.h:85
void setParamArg(unsigned int index, void *ptr, int type)
stores a pair of variable-type and corresponding void-pointer as parameter with given index number ...
Definition: pythonItomMetaObject.h:188
int * argTypes() const
Definition: pythonItomMetaObject.h:90
int m_nrOfParams
Definition: pythonItomMetaObject.h:199
int * m_argTypes
Definition: pythonItomMetaObject.h:202
FctCallParamContainer(int nrOfParams)
constructor
Definition: pythonItomMetaObject.h:131
void ** m_args
Definition: pythonItomMetaObject.h:201
QMetaMethod::MethodType type() const
Definition: pythonItomMetaObject.h:84
Definition: apiFunctionsGraph.cpp:39
int * argTypes()
Definition: pythonItomMetaObject.h:160
Small wrapper class with all necessary information for any method, signal or slot of class which shou...
Definition: pythonItomMetaObject.h:63
QByteArray signature() const
Definition: pythonItomMetaObject.h:91
QByteArray m_name
Definition: pythonItomMetaObject.h:96
void initRetArg(int type)
initializes the return value
Definition: pythonItomMetaObject.h:170
int m_methodIndex
Definition: pythonItomMetaObject.h:97
each instance of this class contains the parameters (including return parameter) for any function cal...
Definition: pythonItomMetaObject.h:121
int m_retType
Definition: pythonItomMetaObject.h:101
~FctCallParamContainer()
destructor
Definition: pythonItomMetaObject.h:149
QMetaMethod::Access m_access
Definition: pythonItomMetaObject.h:100
int getRetType() const
Definition: pythonItomMetaObject.h:161
int m_sizeArgs
Definition: pythonItomMetaObject.h:200
int nrOfArgs() const
Definition: pythonItomMetaObject.h:89
int * m_argTypes
Definition: pythonItomMetaObject.h:103
int methodIndex() const
Definition: pythonItomMetaObject.h:86
QByteArray m_signature
Definition: pythonItomMetaObject.h:98
QMetaMethod::MethodType m_type
Definition: pythonItomMetaObject.h:99
QByteArray name() const
Definition: pythonItomMetaObject.h:87
Definition: pythonItomMetaObject.h:34