comparison base/database/charm/generics.lisp @ 318:c4e792b9b898

Add some ideas for charm constituents. Not particularly useful in its own right, but contains some possibly useful ideas related to the generalisation of db-compositions.
author Jamie Forth <j.forth@gold.ac.uk>
date Thu, 30 Sep 2010 15:35:15 +0100
parents
children
comparison
equal deleted inserted replaced
317:46dd71ef9ab3 318:c4e792b9b898
1 (cl:in-package #:amuse-charm)
2
3 (defgeneric id (object)
4 (:documentation "Generic id function."))
5
6 (defgeneric make-charm-parent-identifier (implementation-package id))
7
8 (defgeneric make-charm-particle-identifier (implementation-package id))
9
10 ;; (defgeneric %cache-charm-particles (implementation-package
11 ;; charm-constituent))
12
13 (defgeneric get-charm-particles (constituent-identifier ids parent))
14
15 (defgeneric get-charm-parent (constituent-identifier))