21 #ifndef SRC_OJO_AGENT_OJOAGENT_HPP_ 22 #define SRC_OJO_AGENT_OJOAGENT_HPP_ 24 #include <boost/regex.hpp> 28 #include "ojomatch.hpp" 39 std::vector<ojomatch> processFile(
const std::string &filePath,
41 std::vector<ojomatch> processFile(
const std::string &filePath);
52 void scanString(
const std::string &text, boost::regex reg,
53 std::vector<ojomatch> &result,
unsigned int offset,
bool isDualTest);
const boost::regex regDualLicense
const boost::regex regLicenseName
Database handler for OJO.
void findLicenseId(std::vector< ojomatch > &matches, OjosDatabaseHandler &databaseHandler)
const boost::regex regLicenseList
void scanString(const std::string &text, boost::regex reg, std::vector< ojomatch > &result, unsigned int offset, bool isDualTest)
void filterMatches(std::vector< ojomatch > &matches)