view implementations/mtp/constructors.lisp @ 59:08468c3d5801

gsharp amuse implementation darcs-hash:20070622062520-df18d-6c619e5668475044d209a1d987c24695ac065679.gz
author csr21 <csr21@cantab.net>
date Fri, 22 Jun 2007 07:25:20 +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))