src/NoteCell.cpp
HumNum NoteCell::getDuration(void) {
	if (!m_owner) {
		return Convert::recipToDuration(m_token);
	}
	return m_owner->getNoteDuration(getVoiceIndex(), getSliceIndex());
}
//////////////////////////////
//
// NoteCell::getDuration -- Return the duration to the next note attack
//     in the grid in the same voice.
//
:getDuration -- Return the duration to the next note attack
in the grid in the same voice.
: getDuration -- Return the duration to the next note attack in the grid in the same voice .
HumNum NoteCell::getDuration(void) {
	if (!m_owner) {
		return Convert::recipToDuration(m_token);
	}
	return m_owner->getNoteDuration(getVoiceIndex(), getSliceIndex());
}
HumNum NoteCell :: getDuration ( void ) { if ( ! m_owner ) { return Convert :: recipToDuration ( m_token ) ; } return m_owner -> getNoteDuration ( getVoiceIndex ( ) , getSliceIndex ( ) ) ; }
NoteCell::getDuration -- Return the duration to the next note attack
in the grid in the same voice.
NoteCell :: getDuration -- Return the duration to the next note attack in the grid in the same voice .