Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions doc/source/_static/dpf_operators.html

Large diffs are not rendered by default.

28 changes: 28 additions & 0 deletions src/ansys/dpf/gate/generated/capi.py
Original file line number Diff line number Diff line change
Expand Up @@ -1212,10 +1212,38 @@ def load_api(path):
dll.DpfDataTree_getVecDoubleAttribute.argtypes = (ctypes.c_void_p, ctypes.POINTER(ctypes.c_char), ctypes.POINTER(ctypes.POINTER(ctypes.c_double)), ctypes.POINTER(ctypes.c_int32), ctypes.POINTER(ctypes.c_int32), ctypes.POINTER(ctypes.c_wchar_p), )
dll.DpfDataTree_getVecDoubleAttribute.restype = None

if hasattr(dll, "DpfDataTree_getIntAttributeWithCheck"):
dll.DpfDataTree_getIntAttributeWithCheck.argtypes = (ctypes.c_void_p, ctypes.POINTER(ctypes.c_char), ctypes.POINTER(ctypes.c_int32), ctypes.POINTER(ctypes.c_bool), ctypes.POINTER(ctypes.c_int32), ctypes.POINTER(ctypes.c_wchar_p), )
dll.DpfDataTree_getIntAttributeWithCheck.restype = None

if hasattr(dll, "DpfDataTree_getUnsignedIntAttributeWithCheck"):
dll.DpfDataTree_getUnsignedIntAttributeWithCheck.argtypes = (ctypes.c_void_p, ctypes.POINTER(ctypes.c_char), ctypes.c_void_p, ctypes.POINTER(ctypes.c_bool), ctypes.POINTER(ctypes.c_int32), ctypes.POINTER(ctypes.c_wchar_p), )
dll.DpfDataTree_getUnsignedIntAttributeWithCheck.restype = None

if hasattr(dll, "DpfDataTree_getDoubleAttributeWithCheck"):
dll.DpfDataTree_getDoubleAttributeWithCheck.argtypes = (ctypes.c_void_p, ctypes.POINTER(ctypes.c_char), ctypes.POINTER(ctypes.c_double), ctypes.POINTER(ctypes.c_bool), ctypes.POINTER(ctypes.c_int32), ctypes.POINTER(ctypes.c_wchar_p), )
dll.DpfDataTree_getDoubleAttributeWithCheck.restype = None

if hasattr(dll, "DpfDataTree_getStringAttributeWithCheck"):
dll.DpfDataTree_getStringAttributeWithCheck.argtypes = (ctypes.c_void_p, ctypes.POINTER(ctypes.c_char), ctypes.POINTER(ctypes.POINTER(ctypes.c_char)), ctypes.POINTER(ctypes.c_int32), ctypes.POINTER(ctypes.c_bool), ctypes.POINTER(ctypes.c_int32), ctypes.POINTER(ctypes.c_wchar_p), )
dll.DpfDataTree_getStringAttributeWithCheck.restype = None

if hasattr(dll, "DpfDataTree_getVecIntAttributeWithCheck"):
dll.DpfDataTree_getVecIntAttributeWithCheck.argtypes = (ctypes.c_void_p, ctypes.POINTER(ctypes.c_char), ctypes.POINTER(ctypes.POINTER(ctypes.c_int32)), ctypes.POINTER(ctypes.c_int32), ctypes.POINTER(ctypes.c_bool), ctypes.POINTER(ctypes.c_int32), ctypes.POINTER(ctypes.c_wchar_p), )
dll.DpfDataTree_getVecIntAttributeWithCheck.restype = None

if hasattr(dll, "DpfDataTree_getVecDoubleAttributeWithCheck"):
dll.DpfDataTree_getVecDoubleAttributeWithCheck.argtypes = (ctypes.c_void_p, ctypes.POINTER(ctypes.c_char), ctypes.POINTER(ctypes.POINTER(ctypes.c_double)), ctypes.POINTER(ctypes.c_int32), ctypes.POINTER(ctypes.c_bool), ctypes.POINTER(ctypes.c_int32), ctypes.POINTER(ctypes.c_wchar_p), )
dll.DpfDataTree_getVecDoubleAttributeWithCheck.restype = None

if hasattr(dll, "DpfDataTree_getStringCollectionAttribute"):
dll.DpfDataTree_getStringCollectionAttribute.argtypes = (ctypes.c_void_p, ctypes.POINTER(ctypes.c_char), ctypes.POINTER(ctypes.c_int32), ctypes.POINTER(ctypes.c_wchar_p), )
dll.DpfDataTree_getStringCollectionAttribute.restype = ctypes.c_void_p

if hasattr(dll, "DpfDataTree_getStringCollectionAttributeWithCheck"):
dll.DpfDataTree_getStringCollectionAttributeWithCheck.argtypes = (ctypes.c_void_p, ctypes.POINTER(ctypes.c_char), ctypes.POINTER(ctypes.c_bool), ctypes.POINTER(ctypes.c_int32), ctypes.POINTER(ctypes.c_wchar_p), )
dll.DpfDataTree_getStringCollectionAttributeWithCheck.restype = ctypes.c_void_p

if hasattr(dll, "DpfDataTree_setIntAttribute"):
dll.DpfDataTree_setIntAttribute.argtypes = (ctypes.c_void_p, ctypes.POINTER(ctypes.c_char), ctypes.c_int32, ctypes.POINTER(ctypes.c_int32), ctypes.POINTER(ctypes.c_wchar_p), )
dll.DpfDataTree_setIntAttribute.restype = None
Expand Down
28 changes: 28 additions & 0 deletions src/ansys/dpf/gate/generated/dpf_data_tree_abstract_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,38 @@ def dpf_data_tree_get_vec_int_attribute(data_tree, attribute_name, data, size):
def dpf_data_tree_get_vec_double_attribute(data_tree, attribute_name, data, size):
raise NotImplementedError

@staticmethod
def dpf_data_tree_get_int_attribute_with_check(data_tree, attribute_name, value, value_found):
raise NotImplementedError

@staticmethod
def dpf_data_tree_get_unsigned_int_attribute_with_check(data_tree, attribute_name, value, value_found):
raise NotImplementedError

@staticmethod
def dpf_data_tree_get_double_attribute_with_check(data_tree, attribute_name, value, value_found):
raise NotImplementedError

@staticmethod
def dpf_data_tree_get_string_attribute_with_check(data_tree, attribute_name, data, size, value_found):
raise NotImplementedError

@staticmethod
def dpf_data_tree_get_vec_int_attribute_with_check(data_tree, attribute_name, data, size, value_found):
raise NotImplementedError

@staticmethod
def dpf_data_tree_get_vec_double_attribute_with_check(data_tree, attribute_name, data, size, value_found):
raise NotImplementedError

@staticmethod
def dpf_data_tree_get_string_collection_attribute(data_tree, attribute_name):
raise NotImplementedError

@staticmethod
def dpf_data_tree_get_string_collection_attribute_with_check(data_tree, attribute_name, value_found):
raise NotImplementedError

@staticmethod
def dpf_data_tree_set_int_attribute(data_tree, attribute_name, value):
raise NotImplementedError
Expand Down
Loading
Loading