src/tool-kernview.cpp
void Tool_kernview::initialize(HumdrumFile& infile) {
	m_view_string = getString("view");
	m_hide_string = getString("hide");
	if (getBoolean("g")) {
		m_view_string = getKernString(infile, getString("g"));
	}
	if (getBoolean("G")) {
		m_hide_string = getKernString(infile, getString("G"));
	}
}
//////////////////////////////
//
// Tool_kernview::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_kernview::initialize(HumdrumFile& infile) {
	m_view_string = getString("view");
	m_hide_string = getString("hide");
	if (getBoolean("g")) {
		m_view_string = getKernString(infile, getString("g"));
	}
	if (getBoolean("G")) {
		m_hide_string = getKernString(infile, getString("G"));
	}
}
void Tool_kernview :: initialize ( HumdrumFile & infile ) { m_view_string = getString ( " " ) ; m_hide_string = getString ( " " ) ; if ( getBoolean ( " " ) ) { m_view_string = getKernString ( infile , getString ( " " ) ) ; } if ( getBoolean ( " " ) ) { m_hide_string = getKernString ( infile , getString ( " " ) ) ; } }
Tool_kernview::initialize --  Initializations that only have to be done once
for all HumdrumFile segments.
Tool_kernview :: initialize -- Initializations that only have to be done once for all HumdrumFile segments .