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

Method hasString

src/python/PyImath/PyImathStringTable.cpp:74–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72
73template<class T>
74bool
75StringTableT<T>::hasString(const T &s) const
76{
77 typedef typename Table::template nth_index<1>::type StringSet;
78 const StringSet &strings = _table.template get<1>();
79 return strings.find(s) != strings.end();
80}
81
82template<class T>
83bool

Callers 4

testStringFunction · 0.80
testWStringFunction · 0.80
operator ==Function · 0.80
operator !=Function · 0.80

Calls

no outgoing calls

Tested by 2

testStringFunction · 0.64
testWStringFunction · 0.64