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

Method hasField

src/BibTeXFile.cpp:69–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69bool BibTeXFile::Entry::hasField(const QString & key) const
70{
71 for (QMap<QString, QString>::const_iterator it = _fields.constBegin(); it != _fields.constEnd(); ++it) {
72 if (QString::compare(key, it.key(), Qt::CaseInsensitive) == 0)
73 return true;
74 }
75 return false;
76}
77
78void BibTeXFile::Entry::updateCache()
79{

Callers 1

entry_hasFieldMethod · 0.80

Calls 1

keyMethod · 0.80

Tested by 1

entry_hasFieldMethod · 0.64