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

Method options

projects/cli/src/matchparser.cpp:56–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54}
55
56QList<MatchParser::Option> MatchParser::options() const
57{
58 QList<Option> list;
59
60 const auto uniqueKeys = m_options.uniqueKeys();
61 for (int key : uniqueKeys)
62 {
63 QList<Option> values(m_options.values(key));
64 while (!values.isEmpty())
65 list.append(values.takeLast());
66 }
67
68 return list;
69}
70
71bool MatchParser::contains(const QString& optionName) const
72{

Callers 1

parseMatchFunction · 0.45

Calls 2

appendMethod · 0.80
isEmptyMethod · 0.45

Tested by

no test coverage detected