diff base/classes.lisp @ 288:d1e5bbcc5ea4

Rationalise base and geerdes classes, constructors and methods. Ignore-this: d9d4d88566a6d110844d91d4c70513cd Towards a more standardised interface. Some of these changes (generalised constructors and reader functions) are necessary for amuse-database-admin functionality and some other CHARM-like things. darcs-hash:20090716154406-16a00-8a9b4fb1fc1f5ba75af66a1bbd87e1bb68e02493.gz
author j.forth <j.forth@gold.ac.uk>
date Thu, 16 Jul 2009 16:44:06 +0100
parents 9d3a016dedf9
children ead979ad3b28
line wrap: on
line diff
--- a/base/classes.lisp	Thu Jul 16 15:58:07 2009 +0100
+++ b/base/classes.lisp	Thu Jul 16 16:44:06 2009 +0100
@@ -8,12 +8,18 @@
 
 (defclass identifier (amuse-object) ()
   (:documentation "DEPRECATED: Base class to allow specification of
-  composition to get. Must be subclassed."))
+  composition to get. Must be subclassed.")) ; FIXME: Why deprecated?
 
 (defclass constituent-identifier (identifier) ()
-  (:documentation "Base class to allow specifiction of constituents"))
+  (:documentation "Base class to allow specification of
+  constituents"))
+
 (defclass composition-identifier (constituent-identifier) ()
-  (:documentation "Base class to allow-specification of constituents"))
+  (:documentation "Base class to allow specification of
+  compositions constituents"))
+
+(defclass event-identifier (identifier) ()
+  (:documentation "Base class to allow specification of events."))
 
 (defclass moment (amuse-object) ()
   (:documentation "Object indicating a point in time"))