MCPcopy Create free account
hub / github.com/cutechess/cutechess / ecoCode

Method ecoCode

projects/lib/src/econode.cpp:219–226  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

217}
218
219QString EcoNode::ecoCode() const
220{
221 if (m_ecoCode == -1)
222 return QString();
223
224 QChar segment('A' + m_ecoCode / 100);
225 return segment + QString("%1").arg(m_ecoCode % 100, 2, 10, QChar('0'));
226}
227
228QString EcoNode::opening() const
229{

Callers 1

addMoveMethod · 0.80

Calls 1

QStringClass · 0.70

Tested by

no test coverage detected