MCPcopy Create free account
hub / github.com/ImageEngine/cortex / hash

Method hash

src/IECore/ObjectVector.cpp:174–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

172}
173
174void ObjectVector::hash( MurmurHash &h ) const
175{
176 Object::hash( h );
177 for( MemberContainer::const_iterator it=m_members.begin(); it!=m_members.end(); it++ )
178 {
179 if( *it )
180 {
181 (*it)->hash( h );
182 }
183 else
184 {
185 h.append( 0 );
186 }
187 }
188}

Callers 2

testHashMethod · 0.95

Calls 4

appendMethod · 0.80
hashFunction · 0.50
beginMethod · 0.45
endMethod · 0.45

Tested by 2

testHashMethod · 0.76