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

Method GetNextKeyword

src/SharedFileList.cpp:185–194  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

183}
184
185CPublishKeyword* CPublishKeywordList::GetNextKeyword()
186{
187 if (m_posNextKeyword == m_lstKeywords.end()) {
188 m_posNextKeyword = m_lstKeywords.begin();
189 if (m_posNextKeyword == m_lstKeywords.end()) {
190 return NULL;
191 }
192 }
193 return *m_posNextKeyword++;
194}
195
196void CPublishKeywordList::ResetNextKeyword()
197{

Callers 1

PublishMethod · 0.80

Calls 2

endMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected