MCPcopy Create free account
hub / github.com/MailCore/mailcore2 / importSerializable

Method importSerializable

src/core/rfc822/MCMessageParser.cpp:150–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148}
149
150void MessageParser::importSerializable(HashMap * serializable)
151{
152 AbstractMessage::importSerializable(serializable);
153 MC_SAFE_REPLACE_RETAIN(AbstractPart, mMainPart, Object::objectWithSerializable((HashMap *) serializable->objectForKey(MCSTR("mainPart"))));
154 if (mMainPart != NULL) {
155 mMainPart->applyUniquePartID();
156 }
157 setupPartID();
158}
159
160Object * MessageParser::copy()
161{

Callers

nothing calls this directly

Calls 2

objectForKeyMethod · 0.80
applyUniquePartIDMethod · 0.80

Tested by

no test coverage detected