Mercurial > hg > amuse
comparison base/generics.lisp @ 251:6a3adca16910
Refactor dataset stuff out of amuse-database-admin, and add midifile-dataset.
author | Jamie Forth <j.forth@gold.ac.uk> |
---|---|
date | Thu, 24 Feb 2011 11:23:18 +0000 |
parents | b3260d1d2419 |
children | aac79c0ac1b9 |
comparison
equal
deleted
inserted
replaced
250:b3260d1d2419 | 251:6a3adca16910 |
---|---|
5 (defgeneric identifier (object)) | 5 (defgeneric identifier (object)) |
6 | 6 |
7 (defgeneric event-id (object)) | 7 (defgeneric event-id (object)) |
8 | 8 |
9 (defgeneric composition-id (object)) | 9 (defgeneric composition-id (object)) |
10 | |
11 (defgeneric make-composition-identifier (package composition-id) | |
12 (:documentation "Generic composition identifier constructor, useful | |
13 for programmatically generating identifiers.")) | |
10 | 14 |
11 ;;; Pulling compositions from the database | 15 ;;; Pulling compositions from the database |
12 | 16 |
13 (defgeneric get-composition (identifier) | 17 (defgeneric get-composition (identifier) |
14 (:documentation "Returns a composition of type dependant on | 18 (:documentation "Returns a composition of type dependant on |