Huge improve in the variables resolution time

This commit is contained in:
Felipe Zimmerle
2015-11-03 22:44:59 -03:00
parent 4a771f8c2c
commit e641c3cc17
15 changed files with 276 additions and 25 deletions

View File

@@ -38,7 +38,13 @@ std::list<transaction::Variable *> *
std::list<transaction::Variable *> *resl =
new std::list<transaction::Variable *>();
resl->push_back(new transaction::Variable("TX:0", "teste"));
if (m_type == SingleMatch) {
assay->m_collections.resolveSingleMatch(m_name, "TX", resl);
} else if (m_type == MultipleMatches) {
assay->m_collections.resolveMultiMatches(m_name, "TX", resl);
} else if (m_type == RegularExpression) {
assay->m_collections.resolveRegularExpression(m_name, "TX", resl);
}
return resl;
}