Ice.Value

class Ice.Value

Bases: object

The base class for instances of Slice-defined classes.

ice_id() str

Returns the Slice type ID of the most-derived class supported by this object.

Returns:

The Slice type ID.

Return type:

str

static ice_staticId() str

Returns the Slice type ID of this type.

Returns:

The return value is always ::Ice::Object.

Return type:

str

ice_getSlicedData() SlicedData | None

Gets the sliced data associated with this instance.

Returns:

If this value has a preserved-slice base class and has been sliced during unmarshaling, this returns the sliced data; otherwise this returns None.

Return type:

SlicedData | None