MCPcopy Create free account
hub / github.com/ElectroZybr/LatticeLab / hasMoleculeTemplate

Method hasMoleculeTemplate

Lattice/Engine/Simulation.cpp:205–207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

203}
204
205bool Simulation::hasMoleculeTemplate(std::string_view name) const {
206 return findMoleculeTemplate(name) != nullptr;
207}
208
209const MoleculeTemplate* Simulation::findMoleculeTemplate(std::string_view name) const {
210 const auto it = moleculeTemplates_.find(std::string(name));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected