MCPcopy Create free account
hub / github.com/amule-project/amule / GetTag

Method GetTag

src/KnownFile.cpp:227–236  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

225}
226
227const CTag *CAbstractFile::GetTag(uint8 tagname, uint8 tagtype) const
228{
229 ArrayOfCTag::const_iterator it = m_taglist.begin();
230 for (; it != m_taglist.end(); ++it){
231 if ((*it).GetNameID() == tagname && (*it).GetType() == tagtype) {
232 return &(*it);
233 }
234 }
235 return NULL;
236}
237
238const CTag *CAbstractFile::GetTag(const wxString& tagname, uint8 tagtype) const
239{

Callers 1

PreparePacketForTagsMethod · 0.80

Calls 5

GetNameIDMethod · 0.80
GetNameMethod · 0.80
beginMethod · 0.45
endMethod · 0.45
GetTypeMethod · 0.45

Tested by

no test coverage detected