def __len__(self): """! @brief (uint) Returns number of simulation steps that are stored in dynamic. """ if self.__ccore_pcnn_dynamic_pointer is not None: return wrapper.pcnn_dynamic_get_size(self.__ccore_pcnn_dynamic_pointer) return len(self.__dynamic)
def __len__(self): """! @brief (uint) Returns number of simulation steps that are stored in dynamic. """ if (self.__ccore_pcnn_dynamic_pointer is not None): return wrapper.pcnn_dynamic_get_size(self.__ccore_pcnn_dynamic_pointer); return len(self.__dynamic);