Virtual Method

OmniToollist_active_port_properties

Declaration

gchar**
list_active_port_properties (
  OmniTool* self,
  gint* result_length1,
  GError** error
)

Description

Enumerate all active port property names.

This method is called during planning to allow tools to conditionally exclude some port properties from participating in link resolution and tool instance duplication. Other properties already have their values set when this method is called.

The default implementation returns all properties of type OmniLinkArray and never returns an error.

It is illegal to return properties that the current instance does not own.

Note that, unlike g_object_class_list_properties(), the caller owns the returned elements and is responsible for releasing them when they are no longer needed. It is designed this way to facilitate the implementation of memory-safe language bindings.

Parameters

result_length1

Type: gint*

No description available.

The argument will be set by the function.
error

Type: GError **

The return location for a recoverable error.

The argument can be NULL.
If the return location is not NULL, then you must initialize it to a NULL GError*.
The argument will be left initialized to NULL by the virtual function if there are no errors.
In case of error, the argument will be set to a newly allocated GError; the caller will take ownership of the data, and be responsible for freeing it.

Return value

Type: An array of gchar*

No description available.

The length of the array is in the result_length1 argument.
The caller of the method takes ownership of the returned data, and is responsible for freeing it.
Each element is a NUL terminated UTF-8 string.