MCPcopy Create free account
hub / github.com/TeXworks/texworks / numEntries

Method numEntries

src/BibTeXFile.cpp:254–262  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

252}
253
254unsigned int BibTeXFile::numEntries() const
255{
256 // Only count "normal" entries
257 unsigned int retVal = 0;
258 for (int i = 0; i < _entries.size(); ++i) {
259 if (_entries[i].type() == Entry::NORMAL) ++retVal;
260 }
261 return retVal;
262}
263
264QMap<QString, QString> BibTeXFile::strings() const
265{

Callers 2

addBibTeXFileMethod · 0.45
rebuildEntryCacheMethod · 0.45

Calls 1

typeMethod · 0.45

Tested by

no test coverage detected