13#include <unordered_set>
14#include <unordered_map>
35 void checkCiteKey(
const std::string & file,
const std::string & citekey);
38 void collectReferences(
const std::string & bibfile);
60 std::unordered_map<std::string, std::unordered_set<std::string>> _refs;
79 void collectReferences(
const std::string & bibfile);
Class for collecting and managing cite keys from the user provided bib files.
Definition BibTexHelper.h:24
static BibTexHelper & instance()
Static function to get the instance of the singleton instance.
Definition BibTexHelper.C:27
void checkCiteKey(const std::string &file, const std::string &citekey)
Checks to see if a cite key belongs to a give bib file.
Definition BibTexHelper.C:83
friend class NetworkParser
the NetworkParser is a friend so that it can call private functions
Definition BibTexHelper.h:43
void clear()
Empties all of the cite keys that are currently in the BibTexHelper.
Definition BibTexHelper.C:37