src/GridSlice.cpp
int GridSlice::getDynamicsCount(int partindex, int staffindex) {
	HumGrid* grid = getOwner();
	if (!grid) {
		return 0;
	}
	if (staffindex >= 0) {
		// ignoring staff-level harmony
		return 0;
	} else {
		return grid->getDynamicsCount(partindex);
	}
}
//////////////////////////////
//
// GridSlice::getDynamicsCount -- Return 0 if no dynamics, otherwise typically returns 1.
//
:getDynamicsCount -- Return 0 if no dynamics, otherwise typically returns 1.
: getDynamicsCount -- Return 0 if no dynamics otherwise typically returns 1 .
int GridSlice::getDynamicsCount(int partindex, int staffindex) {
	HumGrid* grid = getOwner();
	if (!grid) {
		return 0;
	}
	if (staffindex >= 0) {
		return 0;
	} else {
		return grid->getDynamicsCount(partindex);
	}
}
int GridSlice :: getDynamicsCount ( int partindex , int staffindex ) { HumGrid * grid = getOwner ( ) ; if ( ! grid ) { return 0 ; } if ( staffindex >= 0 ) { return 0 ; } else { return grid -> getDynamicsCount ( partindex ) ; } }
GridSlice::getDynamicsCount -- Return 0 if no dynamics, otherwise typically returns 1.
GridSlice :: getDynamicsCount -- Return 0 if no dynamics otherwise typically returns 1 .
// ignoring staff-level harmony