src/GridSlice.cpp
int GridSlice::getHarmonyCount(int partindex, int staffindex) {
	HumGrid* grid = getOwner();
	if (!grid) {
		return 0;
	}
	if (staffindex >= 0) {
		// ignoring staff-level harmony
		return 0;
	} else {
		return grid->getHarmonyCount(partindex);
	}
}
//////////////////////////////
//
// GridSlice::getHarmonyCount --
//    default value: staffindex = -1; (currently not looking for
//        harmony data attached directly to staff (only to part.)
//
:getHarmonyCount
default value: staffindex = -1; (currently not looking for
harmony data attached directly to staff (only to part.)
: getHarmonyCount default value : staffindex = - 1 ; ( currently not looking for harmony data attached directly to staff ( only to part . )
int GridSlice::getHarmonyCount(int partindex, int staffindex) {
	HumGrid* grid = getOwner();
	if (!grid) {
		return 0;
	}
	if (staffindex >= 0) {
		return 0;
	} else {
		return grid->getHarmonyCount(partindex);
	}
}
int GridSlice :: getHarmonyCount ( int partindex , int staffindex ) { HumGrid * grid = getOwner ( ) ; if ( ! grid ) { return 0 ; } if ( staffindex >= 0 ) { return 0 ; } else { return grid -> getHarmonyCount ( partindex ) ; } }
GridSlice::getHarmonyCount
default value: staffindex = -1; (currently not looking for
harmony data attached directly to staff (only to part.)
GridSlice :: getHarmonyCount default value : staffindex = - 1 ; ( currently not looking for harmony data attached directly to staff ( only to part . )
// ignoring staff-level harmony