FOSSology  4.4.0
Open Source License Compliance by Open Source Software
CompatibilityAgent Class Reference

#include <CompatibilityAgent.hpp>

Collaboration diagram for CompatibilityAgent:
Collaboration graph

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
 

Detailed Description

The CompatibilityAgent class with various functions to scan a file.

Definition at line 24 of file CompatibilityAgent.hpp.

Constructor & Destructor Documentation

◆ CompatibilityAgent()

CompatibilityAgent::CompatibilityAgent ( int  agentId,
bool  verbosityDebug 
)

Default constructor for CompatibilityAgent.

Definition at line 43 of file CompatibilityAgent.cc.

Member Function Documentation

◆ checkCompatibilityForPfile()

bool CompatibilityAgent::checkCompatibilityForPfile ( vector< unsigned long > &  licId,
unsigned long &  pFileId,
CompatibilityDatabaseHandler databaseHandler 
) const

find the compatibility between the licenses using scheduler mode

Parameters
licIdlicense id
pFileIdfile id
databaseHandlerDatabase handler to be used
Returns
boolean

Definition at line 55 of file CompatibilityAgent.cc.

◆ setAgentId()

void CompatibilityAgent::setAgentId ( const int  agentId)

Set the agent ID for the agent object.

Parameters
agentIdNew agent id

Definition at line 133 of file CompatibilityAgent.cc.


The documentation for this class was generated from the following files: