All Manuals > KnowledgeWorks and Prolog User Guide > 7 Reference Guide

named-kb-object Class

Summary

A class that provides named objects.

Package

kw

Superclasses

standard-kb-object

Initargs
:kb-name
The name of the object. The default is computed by calling gentemp with the name of the class.
Description

The class named-kb-object is the mixin class for named KnowledgeWorks CLOS objects.

Subclasses of named-kb-object are typically defined using the macro def-named-kb-class.

Examples
(defclass driver (named-kb-object)
  ((location) (allocated-truck)))
See also

get-kb-object
kb-name
def-named-kb-class
standard-kb-object


KnowledgeWorks and Prolog User Guide (Macintosh version) - 01 Dec 2021 19:35:35