src/HumdrumFileBase.cpp
void HumdrumFileBase::getPrimaryTrackSequence(vector<HTp>& sequence, int track,
		int options) {
	vector<vector<HTp> > tempseq;
	getTrackSequence(tempseq, track, options | OPT_PRIMARY);
	sequence.resize(tempseq.size());
	for (int i=0; i<(int)tempseq.size(); i++) {
		sequence[i] = tempseq[i][0];
	}
}
//////////////////////////////
//
// HumdrumFileBase::getPrimaryTrackSequence -- Return a list of the
//     given primary spine tokens for a given track (indexed starting at
//     one and going through getMaxTrack().
//
:getPrimaryTrackSequence -- Return a list of the
given primary spine tokens for a given track (indexed starting at
one and going through getMaxTrack().
: getPrimaryTrackSequence -- Return a list of the given primary spine tokens for a given track ( indexed starting at one and going through getMaxTrack () .
void HumdrumFileBase::getPrimaryTrackSequence(vector<HTp>& sequence, int track,
		int options) {
	vector<vector<HTp> > tempseq;
	getTrackSequence(tempseq, track, options | OPT_PRIMARY);
	sequence.resize(tempseq.size());
	for (int i=0; i<(int)tempseq.size(); i++) {
		sequence[i] = tempseq[i][0];
	}
}
void HumdrumFileBase :: getPrimaryTrackSequence ( vector < HTp > & sequence , int track , int options ) { vector < vector < HTp > > tempseq ; getTrackSequence ( tempseq , track , options | OPT_PRIMARY ) ; sequence . resize ( tempseq . size ( ) ) ; for ( int i = 0 ; i < ( int ) tempseq . size ( ) ; i ++ ) { sequence [ i ] = tempseq [ i ] [ 0 ] ; } }
HumdrumFileBase::getPrimaryTrackSequence -- Return a list of the
given primary spine tokens for a given track (indexed starting at
one and going through getMaxTrack().
HumdrumFileBase :: getPrimaryTrackSequence -- Return a list of the given primary spine tokens for a given track ( indexed starting at one and going through getMaxTrack () .