Product Documentation
Cadence SKILL++ Object System Reference
Product Version IC23.1, June 2023

slotValue

slotValue( 
g_standardObject 
s_slotName 
)
=> g_value

Description

Returns the value contained in the slot slotName of the given standardObject.

If there is no slot with the given name an error is signalled. This function bypasses any @reader generic function for the slot that you specified in the defclass declaration for the g_standardObject’s class.

Arguments

g_standardObject

An instance of the standardObject class or a subclass of standardObject.

s_slotName

The slot symbol used as the slot name in the defclass slot specification.

Value Returned

g_value

Value contained in the slot s_slotName of the given standardObject.

Examples

defclass( GeometricObject () 
(
( x @initarg x )
( y @initarg y )
)
)
=> t

Related Topics

Classes and Instances


Return to top
 ⠀
X