view implementations/mtp/constructors.lisp @ 177:e5de0895d843

Gsharp-output darcs-hash:20080313112652-40ec0-64241751ae1c0bfc32c3e35deac499132728c5bf.gz
author d.lewis <d.lewis@gold.ac.uk>
date Thu, 13 Mar 2008 11:26:52 +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))