view implementations/mtp/constructors.lisp @ 153:74fc4c6cbf6c

Really saved that change this time darcs-hash:20071114153611-f76cc-8bcc114d41915de8d720c833d450cbf0be508ade.gz
author David Lewis <d.lewis@gold.ac.uk>
date Wed, 14 Nov 2007 15:36:11 +0000
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))