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

2


Generic Functions and Methods

A generic function is a collection of function objects. Each element in the collection is called a method. Each method corresponds to a class. When you call a generic function, you pass an instance as the first argument. The SKILL++ Object System uses the class of the first argument to determine which methods to evaluate.

To distinguish them from SKILL++ Object System generic functions, SKILL functions are called simple functions. The SKILL++ Object System provides the following functions.

This topic provides a list of generic functions and methods.

ansiDefmethod

callAs

callNextMethod

defgeneric

defmethod

getMethodSpecializers

isGeneric

getGFbyClass

getApplicableMethods

getMethodName

getMethodRole

getMethodSpec

getGFproxy

nextMethodp

removeMethod

updateInstanceForDifferentClass

updateInstanceForRedefinedClass

Related Topics

Classes and Instances

Generic Specializers

Subclasses and Superclasses

Dependency Maintenance Protocol Functions


Return to top
 ⠀
X