src/HumdrumFileContent-phrase.cpp
void HumdrumFileContent::createLinkedPhrasings(vector<HTp>& linkstarts, vector<HTp>& linkends) {
	int max = (int)linkstarts.size();
	if ((int)linkends.size() < max) {
		max = (int)linkends.size();
	}
	if (max == 0) {
		// nothing to do
		return;
	}

	for (int i=0; i<max; i++) {
		linkPhraseEndpoints(linkstarts[i], linkends[i]);
	}
}
//////////////////////////////
//
// HumdrumFileContent::createLinkedPhrasings --  Currently assume that
//    start and ends are matched.
//
:createLinkedPhrasings --  Currently assume that
start and ends are matched.
: createLinkedPhrasings -- Currently assume that start and ends are matched .
void HumdrumFileContent::createLinkedPhrasings(vector<HTp>& linkstarts, vector<HTp>& linkends) {
	int max = (int)linkstarts.size();
	if ((int)linkends.size() < max) {
		max = (int)linkends.size();
	}
	if (max == 0) {
		return;
	}
	for (int i=0; i<max; i++) {
		linkPhraseEndpoints(linkstarts[i], linkends[i]);
	}
}
void HumdrumFileContent :: createLinkedPhrasings ( vector < HTp > & linkstarts , vector < HTp > & linkends ) { int max = ( int ) linkstarts . size ( ) ; if ( ( int ) linkends . size ( ) < max ) { max = ( int ) linkends . size ( ) ; } if ( max == 0 ) { return ; } for ( int i = 0 ; i < max ; i ++ ) { linkPhraseEndpoints ( linkstarts [ i ] , linkends [ i ] ) ; } }
HumdrumFileContent::createLinkedPhrasings --  Currently assume that
start and ends are matched.
HumdrumFileContent :: createLinkedPhrasings -- Currently assume that start and ends are matched .
// nothing to do