Infinoted.ParameterTypedValue

Fields

Name

Type

Access

Description

type

Infinoted.ParameterType

r/w

The type of the parameter.

value

Infinoted.ParameterValue

r/w

The value of the parameter.

Methods

class

free (data)

class

new ()

copy ()

Details

class Infinoted.ParameterTypedValue

Holds the type and value of a parameter that can be passed to an infinoted plugin.

classmethod free(data)
Parameters:

data (object or None) – The Infinoted.ParameterTypedValue to free.

Frees an instance of Infinoted.ParameterTypedValue. Formally the argument is kept as a generic pointer so that this function can be used as a GLib.DestroyNotify callback.

Note that the Infinoted.ParameterTypedValue needs to be correctly initialized, i.e. its type must be set, before it can be freed.

classmethod new()
Returns:

A new Infinoted.ParameterTypedValue. Free with Infinoted.ParameterTypedValue.free() when no longer needed.

Return type:

Infinoted.ParameterTypedValue

Creates a new instance of a InfinotedParameterTypedValue. The new instance will be uninitialized. Its type and value members need to be set before the object can be used or given to Infinoted.ParameterTypedValue.free().

copy()
Returns:

A new Infinoted.ParameterTypedValue. Free with Infinoted.ParameterTypedValue.free() when no longer needed.

Return type:

Infinoted.ParameterTypedValue

Makes a dynamically allocated copy of self.