10 #ifndef SRC_OJO_AGENT_OJOAGENT_HPP_
11 #define SRC_OJO_AGENT_OJOAGENT_HPP_
13 #include <boost/regex.hpp>
18 #include "ojomatch.hpp"
29 std::vector<ojomatch> processFile(
const std::string &filePath,
32 std::vector<ojomatch> processFile(
const std::string &filePath);
43 void scanString(
const std::string &text, boost::regex reg,
44 std::vector<ojomatch> &result,
unsigned int offset,
bool isDualTest);
Database handler for OJO.
const boost::regex regLicenseList
void scanString(const std::string &text, boost::regex reg, std::vector< ojomatch > &result, unsigned int offset, bool isDualTest)
const boost::regex regDualLicense
void findLicenseId(std::vector< ojomatch > &matches, OjosDatabaseHandler &databaseHandler, const int groupId, const int userId)
void filterMatches(std::vector< ojomatch > &matches)
const boost::regex regLicenseName