OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
PropertyPythonObjectConverter.h
Go to the documentation of this file.
1/*****************************************************************/
8#pragma once
10#include "CPythonObjectNew.h"
11
13{
14public:
15 PropertyPythonObjectConverter(EntityPropertiesBase* property);
16 PyObject* GetValue();
17 void SetValue(const CPythonObject& cpythonObject);
18
19private:
20 EntityPropertiesDouble* _propertyDouble = nullptr;
21 EntityPropertiesInteger* _propertyInt32 = nullptr;
22 EntityPropertiesBoolean* _propertyBool = nullptr;
23 EntityPropertiesString* _propertyString = nullptr;
24 EntityPropertiesSelection* _propertySelection = nullptr;
25 EntityPropertiesEntityList* _propertyEntityList = nullptr;
26};
Wrapper around a PyObject* that is a new reference. This owns the reference so does not increment it ...
Definition CPythonObject.h:13
Definition PropertyPythonObjectConverter.h:13
PyObject * GetValue()
Definition PropertyPythonObjectConverter.cpp:46
PropertyPythonObjectConverter(EntityPropertiesBase *property)
Definition PropertyPythonObjectConverter.cpp:4
void SetValue(const CPythonObject &cpythonObject)
Definition PropertyPythonObjectConverter.cpp:87