src/GridSlice.cpp
void GridSlice::invalidate(void) {
		m_type = SliceType::Invalid;
		// should only do with 0 duration slices, but force to 0 if not already.
		setDuration(0);
}
//////////////////////////////
//
// GridSlice::invalidate -- Mark the slice as invalid, which means that
//    it should not be transferred to the output Humdrum file in HumGrid.
//    Tokens stored in the GridSlice will be deleted by GridSlice when it
//    is destroyed.
//
:invalidate -- Mark the slice as invalid, which means that
it should not be transferred to the output Humdrum file in HumGrid.
Tokens stored in the GridSlice will be deleted by GridSlice when it
is destroyed.
: invalidate -- Mark the slice as invalid which means that it should not be transferred to the output Humdrum file in HumGrid . Tokens stored in the GridSlice will be deleted by GridSlice when it is destroyed .
void GridSlice::invalidate(void) {
		m_type = SliceType::Invalid;
		setDuration(0);
}
void GridSlice :: invalidate ( void ) { m_type = SliceType :: Invalid ; setDuration ( 0 ) ; }
GridSlice::invalidate -- Mark the slice as invalid, which means that
it should not be transferred to the output Humdrum file in HumGrid.
GridSlice :: invalidate -- Mark the slice as invalid which means that it should not be transferred to the output Humdrum file in HumGrid .
// should only do with 0 duration slices, but force to 0 if not already.