Get the Definition of a Class

USAGE:

getClassDef(Class, where)

ARGUMENTS:

Class
character string defining the class.
where
the database on which to look. By default, all the currently attached chapters are searched.

VALUE:

The class representation object defining the class. An error results from asking for the definition of an undefined class (use isClass() to test beforehand). This function gives the complete representation and other information about the class. For most purposes, more specialized functions (such as those in the See also section) should be used instead, since they nearly always are less dependent on implementation details than computations on the representation itself.

SEE ALSO:

Preferrable alternatives for explicit information include to test class relations, or to test for particular slots, and to see the classes of all the slots. For the definition of the value returned by , see .

EXAMPLES:

getClassDef("connection")