Ice.Value¶
- class Ice.Value¶
Bases:
objectThe base class for instances of Slice-defined classes.
Notes
If a subclass defines
ice_preMarshal(self), the Ice runtime calls it just before marshaling the instance; if it definesice_postUnmarshal(self), the runtime calls it after the instance has been fully unmarshaled.- ice_id() str¶
Returns the Slice type ID of the most-derived class supported by this object.
- Returns:
The Slice type ID.
- Return type:
- static ice_staticId() str¶
Returns the Slice type ID of this type.
- Returns:
The return value is always
::Ice::Object.- Return type:
- ice_getSlicedData() SlicedData | None¶
Gets the sliced data associated with this instance.
- Returns:
The sliced data if this value was sliced during unmarshaling,
Noneotherwise. Unknown slices are preserved only when the sender uses the sliced format.- Return type:
SlicedData | None