src/MuseRecord.cpp
int MuseRecord::tieQ(void) {
	int output = 0;
	switch (getType()) {
		case E_muserec_note_regular:
		case E_muserec_note_chord:
		case E_muserec_note_cue:
		case E_muserec_note_grace:
			if (getColumn(9) == '-') {
				output = 1;
			} else if (getColumn(9) == ' ') {
				output = 0;
			} else {
				output = -1;
			}
			break;
		default:
			return 0;
	}

	return output;
}
//////////////////////////////
//
// MuseRecord::tieQ -- returns true if the current line contains
//   a tie to a note in the future.  Does not check if there is a tie
//   to a note in the past.
//
:tieQ -- returns true if the current line contains
a tie to a note in the future.  Does not check if there is a tie
to a note in the past.
: tieQ -- returns true if the current line contains a tie to a note in the future . Does not check if there is a tie to a note in the past .
int MuseRecord::tieQ(void) {
	int output = 0;
	switch (getType()) {
		case E_muserec_note_regular:
		case E_muserec_note_chord:
		case E_muserec_note_cue:
		case E_muserec_note_grace:
			if (getColumn(9) == '-') {
				output = 1;
			} else if (getColumn(9) == ' ') {
				output = 0;
			} else {
				output = -1;
			}
			break;
		default:
			return 0;
	}
	return output;
}
int MuseRecord :: tieQ ( void ) { int output = 0 ; switch ( getType ( ) ) { case E_muserec_note_regular : case E_muserec_note_chord : case E_muserec_note_cue : case E_muserec_note_grace : if ( getColumn ( 9 ) == ' ' ) { output = 1 ; } else if ( getColumn ( 9 ) == ' ' ) { output = 0 ; } else { output = -1 ; } break ; default : return 0 ; } return output ; }
MuseRecord::tieQ -- returns true if the current line contains
a tie to a note in the future.
MuseRecord :: tieQ -- returns true if the current line contains a tie to a note in the future .