r4920: Auto commit for Debian build
[hyperobject.git] / base-class.lisp
1 ;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10 -*-
2 ;;;; *************************************************************************
3 ;;;; FILE IDENTIFICATION
4 ;;;;
5 ;;;; Name:          base-class.lisp
6 ;;;; Purpose:       Definition of basic hyperobject class
7 ;;;; Programmer:    Kevin M. Rosenberg
8 ;;;; Date Started:  Apr 2000
9 ;;;;
10 ;;;; $Id: base-class.lisp,v 1.6 2003/05/14 04:28:09 kevin Exp $
11 ;;;;
12 ;;;; This file is Copyright (c) 2000-2002 by Kevin M. Rosenberg
13 ;;;; *************************************************************************
14
15 (in-package :hyperobject)
16 (eval-when (:compile-toplevel :execute)
17   (declaim (optimize (speed 2) (safety 2) (compilation-speed 0) (debug 2))))
18
19
20 (defclass hyperobject ()
21   ()
22   (:metaclass hyperobject-class)
23   (:description "Basic hyperobject class"))
24
25 (defmethod print-object ((obj hyperobject) (s stream))
26   (print-unreadable-object (obj s :type t :identity t)
27     (funcall (obj-data-func (get-category-view obj :compact-text)) obj s nil)))
28