MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/Imath / hasStringIndex

Method hasStringIndex

src/python/PyImath/PyImathStringTable.cpp:83–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81
82template<class T>
83bool
84StringTableT<T>::hasStringIndex(const StringTableIndex &s) const
85{
86 typedef typename Table::template nth_index<0>::type IndexSet;
87 const IndexSet &indices = _table.template get<0>();
88 return indices.find(s) != indices.end();
89}
90
91namespace {
92template class StringTableDetailT<std::string>;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected