view base/datasets/datasets-file/classes.lisp @ 262:2284dbc7d51a

fix missing description value in mtp-compositions
author Jamie Forth <j.forth@gold.ac.uk>
date Sun, 10 Apr 2011 10:23:04 +0100
parents 6a3adca16910
children
line wrap: on
line source
(cl:in-package #:amuse-datasets)

(defclass file-dataset-identifier (dataset-identifier) ()
  (:documentation "Abstract class for file-based dataset
  identifiers."))

(defclass midifile-dataset-identifier (file-dataset-identifier)
  ((dataset-path :reader dataset-path
	     :initarg :dataset-path)
   (implementation-package :reader implementation-package
	    :initarg :implementation-package))
  (:documentation "Identifier for dataset of midifiles stored in a
  directory."))

(defclass file-dataset (dataset) ()
  (:documentation "Abstract class for file-based datasets."))

(defclass midifile-dataset (file-dataset)
  ((identifier :initarg :identifier
	       :reader identifier)
   (description :initarg :description
		:initform nil
		:reader description))
  (:documentation "A dataset of midifiles stored in a directory."))