comparison data/model/Model.h @ 407:88ad01799040

* Save alignments to session file. Needs much testing.
author Chris Cannam
date Tue, 29 Apr 2008 15:34:17 +0000
parents 5858cc462d0a
children 52303ec15cd2
comparison
equal deleted inserted replaced
406:d095214ffbaf 407:88ad01799040
158 * alignment model. 158 * alignment model.
159 */ 159 */
160 virtual void setAlignment(AlignmentModel *alignment); 160 virtual void setAlignment(AlignmentModel *alignment);
161 161
162 /** 162 /**
163 * Retrieve the alignment model for this model. This is not a
164 * generally useful function, as the alignment you really want may
165 * be performed by the source model instead. You should normally
166 * use getAlignmentReference, alignToReference and
167 * alignFromReference instead of this. The main intended
168 * application for this function is in streaming out alignments to
169 * the session file.
170 */
171 virtual const AlignmentModel *getAlignment() const;
172
173 /**
163 * Return the reference model for the current alignment timeline, 174 * Return the reference model for the current alignment timeline,
164 * if any. 175 * if any.
165 */ 176 */
166 virtual const Model *getAlignmentReference() const; 177 virtual const Model *getAlignmentReference() const;
167 178