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