view implementations/mtp/constructors.lisp @ 181:a397dfe432f6

TabCode Packaging darcs-hash:20080709073509-40ec0-33b68a60705a58bedaab5ec071c16501a21a9ad2.gz
author d.lewis <d.lewis@gold.ac.uk>
date Wed, 09 Jul 2008 08:35:09 +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))