8 #ifndef copyrightState_h
9 #define copyrightState_h
11 #include "regscan.hpp"
12 #include "copyscan.hpp"
15 #include "database.hpp"
56 int getAgentId()
const;
61 const std::list<unptr::shared_ptr<scanner>>&
getScanners()
const;
67 std::list<unptr::shared_ptr<scanner>>
scanners;
Store the options sent through the CLI.
bool isVerbosityDebug() const
Check if verbosity is set.
bool doJsonOutput() const
Check if JSON output is required.
std::list< unptr::shared_ptr< scanner > > extractScanners()
Get scanner s set by CliOptions.
unsigned int getOptType() const
Get the opt type set by CliOptions.
bool doignoreFilesWithMimeType() const
Check to ignore files with particular mimetype.
std::list< unptr::shared_ptr< scanner > > cliScanners
CliOptions()
Default constructor for CliOptions.
void addScanner(scanner *regexDesc)
Add scanner to CliOptions.
bool ignoreFilesWithMimeType
Holds information about state of one agent.
const CliOptions & getCliOptions() const
Get the CliOptions set by user.
void addScanner(scanner *scanner)
Add scanner to state.
const std::list< unptr::shared_ptr< scanner > > & getScanners() const
Get available scanner s.
std::list< unptr::shared_ptr< scanner > > scanners
CopyrightState(CliOptions &&cliOptions)
Constructor to initialize state.
const CliOptions cliOptions
Abstract class to provide interface to scanners.
Defined which unique to be used by creating new unptr namespace.