FOSSology  3.2.0rc1
Open Source License Compliance by Open Source Software
directoryScan.hpp
1 /*
2  * Copyright (C) 2019, Siemens AG
3  * Author: Gaurav Mishra <mishra.gaurav@siemens.com>
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License version 2
7  * as published by the Free Software Foundation.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12  * See the GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program; if not, write to the Free Software Foundation,
16  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17  */
18 
19 #ifndef DIRECTORYSCAN_HPP_
20 #define DIRECTORYSCAN_HPP_
21 
22 #include <boost/filesystem.hpp>
23 #include <boost/range/iterator_range.hpp>
24 #include <iostream>
25 
26 #include "copyrightUtils.hpp"
27 
28 void scanDirectory(const CopyrightState& state, const bool json,
29  const std::string directoryPath);
30 
31 #endif /* DIRECTORYSCAN_HPP_ */
void scanDirectory(const bool json, const string &directoryPath)
Holds information about state of one agent.