src/tool-shed.cpp
void Tool_shed::initializeSegment(HumdrumFile& infile) {
	m_spines.clear();
	if (getBoolean("spines")) {
		int maxtrack = infile.getMaxTrack();
		Convert::makeBooleanTrackList(m_spines, getString("spines"), maxtrack);
	}
}
//////////////////////////////
//
// Tool_shed::initializeSegment -- Recalculate variables for each Humdrum 
//      input segment.
//
:initializeSegment -- Recalculate variables for each Humdrum
input segment.
: initializeSegment -- Recalculate variables for each Humdrum input segment .
void Tool_shed::initializeSegment(HumdrumFile& infile) {
	m_spines.clear();
	if (getBoolean("spines")) {
		int maxtrack = infile.getMaxTrack();
		Convert::makeBooleanTrackList(m_spines, getString("spines"), maxtrack);
	}
}
void Tool_shed :: initializeSegment ( HumdrumFile & infile ) { m_spines . clear ( ) ; if ( getBoolean ( " " ) ) { int maxtrack = infile . getMaxTrack ( ) ; Convert :: makeBooleanTrackList ( m_spines , getString ( " " ) , maxtrack ) ; } }
Tool_shed::initializeSegment -- Recalculate variables for each Humdrum
input segment.
Tool_shed :: initializeSegment -- Recalculate variables for each Humdrum input segment .