FOSSology
4.4.0
Open Source License Compliance by Open Source Software
|
Holds information about state of one agent. More...
#include <copyrightState.hpp>
Public Member Functions | |
CopyrightState (CliOptions &&cliOptions) | |
Constructor to initialize state. More... | |
int | getAgentId () const |
void | addScanner (scanner *scanner) |
Add scanner to state. More... | |
const std::list< unptr::shared_ptr< scanner > > & | getScanners () const |
Get available scanner s. More... | |
const CliOptions & | getCliOptions () const |
Get the CliOptions set by user. More... | |
Private Attributes | |
const CliOptions | cliOptions |
std::list< unptr::shared_ptr< scanner > > | scanners |
Holds information about state of one agent.
Definition at line 51 of file copyrightState.hpp.
CopyrightState::CopyrightState | ( | CliOptions && | cliOptions | ) |
Constructor to initialize state.
cliOptions | Options sent by CLI |
Definition at line 15 of file copyrightState.cc.
void CopyrightState::addScanner | ( | scanner * | sc | ) |
Add scanner to state.
sc | Scanner to be added |
Definition at line 25 of file copyrightState.cc.
const CliOptions & CopyrightState::getCliOptions | ( | ) | const |
Get the CliOptions set by user.
Definition at line 80 of file copyrightState.cc.
const std::list< unptr::shared_ptr< scanner > > & CopyrightState::getScanners | ( | ) | const |
Get available scanner s.
Definition at line 35 of file copyrightState.cc.
|
private |
CliOptions passed
Definition at line 66 of file copyrightState.hpp.
|
private |
List of available scanners
Definition at line 67 of file copyrightState.hpp.