src/MuseRecord.cpp
string MuseRecord::getTickDurationField(void) {
	switch (getType()) {
		case E_muserec_figured_harmony:
		case E_muserec_note_regular:
		case E_muserec_note_chord:
		case E_muserec_rest:
		case E_muserec_backward:
		case E_muserec_forward:
			return extract(6, 9);
			break;
		// these record types do not have duration, per se:
		case E_muserec_note_cue:
		case E_muserec_note_grace:
		default:
			return "    ";
			// cerr << "Error: cannot use getTickDurationField function on line: "
			//      << getLine() << endl;
			// return "";
	}
	return "";
}
//////////////////////////////
//
// MuseRecord::getTickDurationField -- returns the string containing the
//      duration, and tie information.
//
:getTickDurationField -- returns the string containing the
duration, and tie information.
: getTickDurationField -- returns the string containing the duration and tie information .
string MuseRecord::getTickDurationField(void) {
	switch (getType()) {
		case E_muserec_figured_harmony:
		case E_muserec_note_regular:
		case E_muserec_note_chord:
		case E_muserec_rest:
		case E_muserec_backward:
		case E_muserec_forward:
			return extract(6, 9);
			break;
		case E_muserec_note_cue:
		case E_muserec_note_grace:
		default:
			return "    ";
	}
	return "";
}
string MuseRecord :: getTickDurationField ( void ) { switch ( getType ( ) ) { case E_muserec_figured_harmony : case E_muserec_note_regular : case E_muserec_note_chord : case E_muserec_rest : case E_muserec_backward : case E_muserec_forward : return extract ( 6 , 9 ) ; break ; case E_muserec_note_cue : case E_muserec_note_grace : default : return " " ; } return " " ; }
MuseRecord::getTickDurationField -- returns the string containing the
duration, and tie information.
MuseRecord :: getTickDurationField -- returns the string containing the duration and tie information .
// these record types do not have duration, per se: // cerr << "Error: cannot use getTickDurationField function on line: " //      << getLine() << endl; // return "";