src/tool-flipper.cpp
void Tool_flipper::initialize(void) {
	m_allQ         = getBoolean("all");
	m_keepQ        = getBoolean("keep");
	m_kernQ        = true;
	m_stropheQ     = getBoolean("strophe");
	m_interp       = getString("interp");
	if (m_interp != "kern") {
		m_kernQ = false;
	}
}
//////////////////////////////
//
// Tool_flipper::initialize --  Initializations that only have to be done once
//    for all HumdrumFile segments.
//
:initialize --  Initializations that only have to be done once
for all HumdrumFile segments.
: initialize -- Initializations that only have to be done once for all HumdrumFile segments .
void Tool_flipper::initialize(void) {
	m_allQ         = getBoolean("all");
	m_keepQ        = getBoolean("keep");
	m_kernQ        = true;
	m_stropheQ     = getBoolean("strophe");
	m_interp       = getString("interp");
	if (m_interp != "kern") {
		m_kernQ = false;
	}
}
void Tool_flipper :: initialize ( void ) { m_allQ = getBoolean ( " " ) ; m_keepQ = getBoolean ( " " ) ; m_kernQ = true ; m_stropheQ = getBoolean ( " " ) ; m_interp = getString ( " " ) ; if ( m_interp != " " ) { m_kernQ = false ; } }
Tool_flipper::initialize --  Initializations that only have to be done once
for all HumdrumFile segments.
Tool_flipper :: initialize -- Initializations that only have to be done once for all HumdrumFile segments .