src/MuseRecord.cpp
int MuseRecord::getLineTickDuration(void) {
	if (getType() == E_muserec_note_chord) {
		return 0;
	}

	string recordInfo = getTickDurationString();
	if (recordInfo.empty()) {
		return 0;
	}
	int value = std::stoi(recordInfo);
	if (getType() == E_muserec_backspace) {
		return -value;
	}

	return value;
}
//////////////////////////////
//
// MuseRecord::getLineTickDuration -- returns the logical duration of the
//      data line.  Supresses the duration field of secondary chord notes.
//
:getLineTickDuration -- returns the logical duration of the
data line.  Supresses the duration field of secondary chord notes.
: getLineTickDuration -- returns the logical duration of the data line . Supresses the duration field of secondary chord notes .
int MuseRecord::getLineTickDuration(void) {
	if (getType() == E_muserec_note_chord) {
		return 0;
	}
	string recordInfo = getTickDurationString();
	if (recordInfo.empty()) {
		return 0;
	}
	int value = std::stoi(recordInfo);
	if (getType() == E_muserec_backspace) {
		return -value;
	}
	return value;
}
int MuseRecord :: getLineTickDuration ( void ) { if ( getType ( ) == E_muserec_note_chord ) { return 0 ; } string recordInfo = getTickDurationString ( ) ; if ( recordInfo . empty ( ) ) { return 0 ; } int value = std :: stoi ( recordInfo ) ; if ( getType ( ) == E_muserec_backspace ) { return - value ; } return value ; }
MuseRecord::getLineTickDuration -- returns the logical duration of the
data line.
MuseRecord :: getLineTickDuration -- returns the logical duration of the data line .