Debian Codegraph @

src/htmlindex/indexentry/indexentry.cc

raw
1 #include "../htmlindex.h"
2
3 IndexEntry::IndexEntry(string const &keystring,
4 unsigned filenameIndex, unsigned labelNr)
5 :
6 key(keystring)
7 {
8 for (string::iterator it = key.begin(); it != key.end(); it++)
9 if (*it != ' ')
10 uppercaseKey += toupper(*it);
11
12 labels.push_back(pair<unsigned, unsigned>(filenameIndex, labelNr));
13 }