def get_foo_containers_record_f6(cself): try: _ret = CPyObject.fromPy(ListRecordFooSomeOtherRecordHelper.c_data_set, CPyRecord.toPy(None, cself).list_record) assert _ret != ffi.NULL return _ret except Exception as _djinni_py_e: CPyException.setExceptionFromPy(_djinni_py_e) return ffi.NULL
def get_foo_containers_record_f4(cself): try: _ret = CPyObject.fromPy(ListOptionalBinaryHelper.c_data_set, CPyRecord.toPy(None, cself).list_optional_binary) assert _ret != ffi.NULL return _ret except Exception as _djinni_py_e: CPyException.setExceptionFromPy(_djinni_py_e) return ffi.NULL
def get_foo_containers_record_f5(cself): try: _ret = CPyObject.fromPy(ListListStringHelper.c_data_set, CPyRecord.toPy(None, cself).list_list_string) assert _ret != ffi.NULL return _ret except Exception as _djinni_py_e: CPyException.setExceptionFromPy(_djinni_py_e) return ffi.NULL
def get_nested_collection_f1(cself): try: _ret = CPyObject.fromPy(ListSetStringHelper.c_data_set, CPyRecord.toPy(None, cself).set_list) assert _ret != ffi.NULL return _ret except Exception as _djinni_py_e: CPyException.setExceptionFromPy(_djinni_py_e) return ffi.NULL
def l(self, l): _ret_c = lib.cw__enum_usage_interface_l( self._cpp_impl, CPyObject.fromPy(ListEnumColorHelper.c_data_set, l)) CPyException.toPyCheckAndRaise(_ret_c) _ret = CPyObject.toPy(ListEnumColorHelper.c_data_set, _ret_c) assert _ret is not None return _ret
def get_primitive_list_f1(cself): try: _ret = CPyObject.fromPy(ListInt64THelper.c_data_set, CPyRecord.toPy(None, cself).list) assert _ret != ffi.NULL return _ret except Exception as _djinni_py_e: CPyException.setExceptionFromPy(_djinni_py_e) return ffi.NULL
def __get_elem(cself, index): try: _ret = CPyObject.fromPy(ListStringHelper.c_data_set, CPyObject.toPy(None, cself)[index]) assert _ret != ffi.NULL return _ret except Exception as _djinni_py_e: CPyException.setExceptionFromPy(_djinni_py_e) return ffi.NULL
def get_foo_containers_record_f3(cself): try: _ret = CPyObject.fromPy(ListBinaryHelper.c_data_set, CPyRecord.toPy(None, cself).list_binary) assert _ret != ffi.NULL return _ret except Exception as _djinni_py_e: CPyException.setExceptionFromPy(_djinni_py_e) return ffi.NULL
def get_all_datatypes_f11(cself): try: _ret = CPyObject.fromPy(ListBoolHelper.c_data_set, CPyRecord.toPy(None, cself).listData) assert _ret != ffi.NULL return _ret except Exception as _djinni_py_e: CPyException.setExceptionFromPy(_djinni_py_e) return ffi.NULL
def get_map_list_record_f1(cself): try: _ret = CPyObject.fromPy(ListMapStringInt64THelper.c_data_set, CPyRecord.toPy(None, cself).map_list) assert _ret != ffi.NULL return _ret except Exception as _djinni_py_e: CPyException.setExceptionFromPy(_djinni_py_e) return ffi.NULL
def get_enum_usage_record_f3(cself): try: _ret = CPyObject.fromPy(ListEnumColorHelper.c_data_set, CPyRecord.toPy(None, cself).l) assert _ret != ffi.NULL return _ret except Exception as _djinni_py_e: CPyException.setExceptionFromPy(_djinni_py_e) return ffi.NULL
def get_item_list_f1(cself): try: _ret = CPyObject.fromPy(ListStringHelper.c_data_set, CPyRecord.toPy(None, cself).items) assert _ret != ffi.NULL return _ret except Exception as _djinni_py_e: CPyException.setExceptionFromPy(_djinni_py_e) return ffi.NULL
def get_my_record_f3(cself): try: _ret = CPyObject.fromPy(ListUint32THelper.c_data_set, CPyRecord.toPy(None, cself).test2) assert _ret != ffi.NULL return _ret except Exception as _djinni_py_e: CPyException.setExceptionFromPy(_djinni_py_e) return ffi.NULL
def __get_value(cself, key): pyKey = CPyPrimitive.toPy(key) assert pyKey is not None try: _ret = CPyObject.fromPy(ListDateHelper.c_data_set, CPyObjectProxy.toPyObj(None, cself)[pyKey]) assert _ret != ffi.NULL return _ret except Exception as _djinni_py_e: CPyException.setExceptionFromPy(_djinni_py_e) return ffi.NULL
def set_list_binary(self, lb): lib.cw__foo_containers_interface_set_list_binary( self._cpp_impl, CPyObject.fromPy(ListBinaryHelper.c_data_set, lb)) CPyException.toPyCheckAndRaise(ffi.NULL)
def set_list_record(self, lr): lib.cw__foo_containers_interface_set_list_record( self._cpp_impl, CPyObject.fromPy(ListRecordFooSomeOtherRecordHelper.c_data_set, lr)) CPyException.toPyCheckAndRaise(ffi.NULL)
def set_list_binary(self, lb): lib.cw__foo_containers_interface_set_list_binary(self._cpp_impl, CPyObject.fromPy(ListBinaryHelper.c_data_set, lb)) CPyException.toPyCheckAndRaise(ffi.NULL)
def set_list_record(self, lr): lib.cw__foo_containers_interface_set_list_record(self._cpp_impl, CPyObject.fromPy(ListRecordFooSomeOtherRecordHelper.c_data_set, lr)) CPyException.toPyCheckAndRaise(ffi.NULL)
def methodB(self, records): lib.cw__Foo_Callback_methodB( self._cpp_impl, CPyObject.fromPy(ListRecordFooRecordHelper.c_data_set, records)) CPyException.toPyCheckAndRaise(ffi.NULL)