FOSSology  4.4.0
Open Source License Compliance by Open Source Software
copyscan.hpp
1 /*
2  SPDX-FileCopyrightText: © 2015 Siemens AG
3  Author: Florian Krügel
4 
5  SPDX-License-Identifier: GPL-2.0-only
6 */
7 #ifndef COPYSCAN_HPP_
8 #define COPYSCAN_HPP_
9 
10 #include "scanners.hpp"
11 #include "regex.hpp"
12 
17 class hCopyrightScanner : public scanner
18 {
19 public:
20  void ScanString(const string& s, list<match>& results) const;
22 private:
36 } ;
37 
38 #endif
39 
Implementation of scanner class for copyright.
Definition: copyscan.hpp:18
rx::regex regNonBlank
Definition: copyscan.hpp:35
void ScanString(const string &s, list< match > &results) const
Scan a given string for copyright statements.
Definition: copyscan.cc:46
rx::regex regSpdxCopyright
Definition: copyscan.hpp:35
hCopyrightScanner()
Constructor for default hCopyrightScanner.
Definition: copyscan.cc:20
rx::regex regCopyright
Definition: copyscan.hpp:35
rx::regex regSimpleCopyright
Definition: copyscan.hpp:35
rx::regex regException
Definition: copyscan.hpp:35
Abstract class to provide interface to scanners.
Definition: scanners.hpp:52
int s
The socket that the CLI will use to communicate.
Definition: fo_cli.c:37
Utilities to help scanners.
list_t type structure used to keep various lists. (e.g. there are multiple lists).
Definition: nomos.h:308