#include <QList>Go to the source code of this file.
Classes | |
| class | PythonQtValueStoragePosition |
| stores a position in the PythonQtValueStorage More... | |
| class | PythonQtValueStorage< T, chunkEntries > |
| a helper class that stores basic C++ value types in chunks More... | |
Defines | |
| #define | PythonQtValueStorage_ADD_VALUE(store, type, value, ptr) |
| #define | PythonQtValueStorage_ADD_VALUE_IF_NEEDED(alreadyAllocatedPtr, store, type, value, ptr) |
Definition in file PythonQtMisc.h.
| #define PythonQtValueStorage_ADD_VALUE | ( | store, | ||
| type, | ||||
| value, | ||||
| ptr | ||||
| ) |
{ type* item = (type*)store.nextValuePtr(); \
*item = value; \
ptr = (void*)item; \
}
Definition at line 48 of file PythonQtMisc.h.
| #define PythonQtValueStorage_ADD_VALUE_IF_NEEDED | ( | alreadyAllocatedPtr, | ||
| store, | ||||
| type, | ||||
| value, | ||||
| ptr | ||||
| ) |
{ \
type* item = (type*)(alreadyAllocatedPtr?alreadyAllocatedPtr:store.nextValuePtr()); \
*item = value; \
ptr = (void*)item; \
}
Definition at line 54 of file PythonQtMisc.h.
1.7.1