Python Component API: class ValueHolder

The following methods are available for Python class ValueHolder.

This page discusses:

Description

This is a helper to deal with newly created pilotpython.Value instances that must be cleaned up. param val: Value to be deleted (i.e. its memory is freed) type val: pilotpython.Value. This class is part of the pilotpython module, which is available in the Python (on Server) component.

class ValueHolder(builtins.object)

ValueHolder.__del__()
ValueHolder.__init__(val)
Description Initialize self. See help(type(self)) for accurate signature.
Input parameters val
Return value None
ValueHolder.val()
Description Returns the held value.
Input parameters None
Return value returns: Value held by the instance

rtype: pilotpython.Value

Data descriptors defined here

ValueHolder.__dict__
Description dictionary for instance variables (if defined)
ValueHolder.__weakref__
Description list of weak references to the object (if defined)