MCPcopy Create free account
hub / github.com/Xtra-Computing/thundersvm / Predicate

Method Predicate

src/thundersvm/util/log.cpp:181–184  ·  view source on GitHub ↗

@brief Used to find configuration from configuration (pointers) repository. Avoid using it.

Source from the content-addressed store, hash-verified

179
180/// @brief Used to find configuration from configuration (pointers) repository. Avoid using it.
181 Configuration::Predicate::Predicate(Level level, ConfigurationType configurationType) :
182 m_level(level),
183 m_configurationType(configurationType) {
184 }
185
186 bool Configuration::Predicate::operator()(const Configuration* conf) const {
187 return ((conf != nullptr) && (conf->level() == m_level) && (conf->configurationType() == m_configurationType));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected