12 for (
size_t i = 0;
i < filterNames.size();
i++) {
13 p->setCode(filterNames[
i].c_str(),
i);
27 <<
" Warning, trying to store at bit " << bitNr <<
" but max nr bits is " <<
maxNrBits_;
45 char const*
const end = descript + strlen(descript);
46 char const* codeKey = descript;
47 char const*
token =
nullptr;
52 if (0 ==
c.first.compare(0, std::string::npos, codeKey,
token - codeKey)) {
62 bool TrigCodes::keyComp(
const std::pair<std::string, TrigBitSet>& lhs,
const std::pair<std::string, TrigBitSet>& rhs) {
63 return lhs.first < rhs.first;
69 if ((code & codeDef.second) == codeDef.second) {
78 std::ostringstream
msg;
79 msg <<
" trig bits defined: " << std::endl;
81 msg <<
" key : " << codeDef.first <<
" bit " << codeDef.second << std::endl;