MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/Imath / operator !=

Function operator !=

src/python/PyImath/PyImathStringArray.cpp:254–263  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

252
253template<class T>
254FixedArray<int> operator != (const StringArrayT<T> &a0, const StringArrayT<T> &a1) {
255 size_t len = a0.match_dimension(a1);
256 FixedArray<int> f(len);
257 const StringTableT<T> &t0 = a0.stringTable();
258 const StringTableT<T> &t1 = a1.stringTable();
259 for (size_t i=0;i<len;++i) {
260 f[i] = t0.lookup(a0[i])!=t1.lookup(a1[i]);
261 }
262 return f;
263}
264
265template<class T>
266FixedArray<int> operator != (const StringArrayT<T> &a0, const T &v1) {

Callers

nothing calls this directly

Calls 4

lookupMethod · 0.80
hasStringMethod · 0.80
match_dimensionMethod · 0.45
lenMethod · 0.45

Tested by

no test coverage detected