comparison base/datasets/datasets-file/classes.lisp @ 251:6a3adca16910

Refactor dataset stuff out of amuse-database-admin, and add midifile-dataset.
author Jamie Forth <j.forth@gold.ac.uk>
date Thu, 24 Feb 2011 11:23:18 +0000
parents
children
comparison
equal deleted inserted replaced
250:b3260d1d2419 251:6a3adca16910
1 (cl:in-package #:amuse-datasets)
2
3 (defclass file-dataset-identifier (dataset-identifier) ()
4 (:documentation "Abstract class for file-based dataset
5 identifiers."))
6
7 (defclass midifile-dataset-identifier (file-dataset-identifier)
8 ((dataset-path :reader dataset-path
9 :initarg :dataset-path)
10 (implementation-package :reader implementation-package
11 :initarg :implementation-package))
12 (:documentation "Identifier for dataset of midifiles stored in a
13 directory."))
14
15 (defclass file-dataset (dataset) ()
16 (:documentation "Abstract class for file-based datasets."))
17
18 (defclass midifile-dataset (file-dataset)
19 ((identifier :initarg :identifier
20 :reader identifier)
21 (description :initarg :description
22 :initform nil
23 :reader description))
24 (:documentation "A dataset of midifiles stored in a directory."))