Mercurial > hg > amuse
view implementations/mtp/constructors.lisp @ 314:937334f2bcd2
Add generic ID constructor to midi-db.
Ignore-this: 91554466a43d64ee99fbf840985d7c6b
darcs-hash:20100414185257-16a00-dcfa03eaa450cfdce842c64c3f49214c5c938181.gz
author | j.forth <j.forth@gold.ac.uk> |
---|---|
date | Wed, 14 Apr 2010 19:52:57 +0100 |
parents | ce4a90427366 |
children |
line wrap: on
line source
(cl:in-package #:amuse-mtp) (defun make-mtp-dataset-identifier (dataset-id) (make-instance 'mtp-dataset-identifier :dataset-id dataset-id)) (defun make-mtp-composition-identifier (dataset-id composition-id) (make-instance 'mtp-composition-identifier :dataset-id dataset-id :composition-id composition-id)) (defun make-mtp-dataset (&rest args) (apply #'make-instance 'mtp-dataset args)) (defun make-mtp-composition (&rest args) (apply #'make-instance 'mtp-composition args)) (defun make-mtp-event (&rest args) (apply #'make-instance 'mtp-event args))