src/MuseRecord.cpp
string MuseRecord::getNoteField(void) {
	switch (getType()) {
		case E_muserec_note_regular:
			return extract(1, 4);
			break;
		case E_muserec_note_chord:
		case E_muserec_note_cue:
		case E_muserec_note_grace:
			return extract(2, 5);
			break;
		default:
			cerr << "Error: cannot use getNoteField function on line: "
			   << getLine() << endl;
	}
	return "";
}
//////////////////////////////
//
// MuseRecord::getNoteField -- returns the string containing the pitch,
//	accidental and octave characters.
//
:getNoteField -- returns the string containing the pitch,
accidental and octave characters.
: getNoteField -- returns the string containing the pitch accidental and octave characters .
string MuseRecord::getNoteField(void) {
	switch (getType()) {
		case E_muserec_note_regular:
			return extract(1, 4);
			break;
		case E_muserec_note_chord:
		case E_muserec_note_cue:
		case E_muserec_note_grace:
			return extract(2, 5);
			break;
		default:
			cerr << "Error: cannot use getNoteField function on line: "
			   << getLine() << endl;
	}
	return "";
}
string MuseRecord :: getNoteField ( void ) { switch ( getType ( ) ) { case E_muserec_note_regular : return extract ( 1 , 4 ) ; break ; case E_muserec_note_chord : case E_muserec_note_cue : case E_muserec_note_grace : return extract ( 2 , 5 ) ; break ; default : cerr << " " << getLine ( ) << endl ; } return " " ; }
MuseRecord::getNoteField -- returns the string containing the pitch,
accidental and octave characters.
MuseRecord :: getNoteField -- returns the string containing the pitch accidental and octave characters .