MCPcopy Create free account
hub / github.com/Tripwire/tripwire-open-source / AllIdentifiersUnique

Method AllIdentifiersUnique

src/core/displayencoder.cpp:764–776  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

762
763
764bool cEncoder::AllIdentifiersUnique() const
765{
766 TSTRING chars;
767 for (sack_type::const_iterator atE = m_encodings.begin(); atE != m_encodings.end(); atE++)
768 {
769 TCHAR chID = (*atE)->Identifier();
770 if (chars.find(chID) == TSTRING::npos)
771 chars += chID;
772 else
773 return false;
774 }
775 return true;
776}
777
778
779bool cEncoder::AllTestsRunOnEncodedString(const TSTRING& s) const

Callers

nothing calls this directly

Calls 4

beginMethod · 0.80
endMethod · 0.80
IdentifierMethod · 0.80
findMethod · 0.45

Tested by

no test coverage detected