FOSSology
4.4.0
Open Source License Compliance by Open Source Software
|
#include <CompatibilityAgent.hpp>
Public Member Functions | |
CompatibilityAgent (int agentId, bool verbosityDebug) | |
bool | checkCompatibilityForPfile (vector< unsigned long > &licId, unsigned long &pFileId, CompatibilityDatabaseHandler &databaseHandler) const |
find the compatibility between the licenses using scheduler mode More... | |
void | setAgentId (const int agentId) |
Set the agent ID for the agent object. More... | |
Private Attributes | |
int | agentId |
bool | verbosityDebug |
The CompatibilityAgent class with various functions to scan a file.
Definition at line 24 of file CompatibilityAgent.hpp.
CompatibilityAgent::CompatibilityAgent | ( | int | agentId, |
bool | verbosityDebug | ||
) |
Default constructor for CompatibilityAgent.
Definition at line 43 of file CompatibilityAgent.cc.
bool CompatibilityAgent::checkCompatibilityForPfile | ( | vector< unsigned long > & | licId, |
unsigned long & | pFileId, | ||
CompatibilityDatabaseHandler & | databaseHandler | ||
) | const |
find the compatibility between the licenses using scheduler mode
licId | license id |
pFileId | file id |
databaseHandler | Database handler to be used |
Definition at line 55 of file CompatibilityAgent.cc.
void CompatibilityAgent::setAgentId | ( | const int | agentId | ) |
Set the agent ID for the agent object.
agentId | New agent id |
Definition at line 133 of file CompatibilityAgent.cc.