LifeV
license_check.hpp
Go to the documentation of this file.
1
// license_check header ----------------------------------------------------//
2
3
// Copyright Beman Dawes 2002, 2003.
4
// Copyright Rene Rivera 2004.
5
// Distributed under the Boost Software License, Version 1.0.
6
// (See accompanying file LICENSE_1_0.txt or copy at
7
// http://www.boost.org/LICENSE_1_0.txt)
8
9
#
ifndef
BOOST_LICENSE_CHECK_HPP
10
#
define
BOOST_LICENSE_CHECK_HPP
11
12
#
include
"inspector.hpp"
13
14
namespace
boost
15
{
16
namespace
inspect
17
{
18
class
license_check
:
public
source_inspector
19
{
20
long
m_files_with_errors
;
21
public
:
22
23
license_check
();
24
virtual
const
char
*
name
()
const
25
{
26
return
"license-check"
;
27
}
28
virtual
const
char
*
desc
()
const
29
{
30
return
"missing license info (LGPL or GPL)"
;
31
}
32
33
virtual
void
inspect
(
34
const
std::string& library_name,
35
const
path& full_path,
36
const
std::string& contents );
37
38
virtual
~
license_check
()
39
{
40
std::cout <<
" "
41
<< m_files_with_errors <<
" files missing license info (LGPL or GPL)\n"
;
42
}
43
};
44
}
45
}
46
47
#
endif
// BOOST_LICENSE_CHECK_HPP
boost::inspect::license_check::~license_check
virtual ~license_check()
Definition:
license_check.hpp:38
boost
Definition:
copyright_check.cpp:10
boost::inspect::license_check::desc
virtual const char * desc() const
Definition:
license_check.hpp:28
boost::inspect::source_inspector
Definition:
inspector.hpp:67
boost::inspect::license_check::inspect
virtual void inspect(const std::string &library_name, const path &full_path, const std::string &contents)
Definition:
license_check.cpp:27
boost::inspect::license_check::m_files_with_errors
long m_files_with_errors
Definition:
license_check.hpp:20
boost::inspect
Definition:
copyright_check.cpp:12
boost::inspect::license_check
Definition:
license_check.hpp:18
boost::inspect::license_check::license_check
license_check()
Definition:
license_check.cpp:23
boost::inspect::license_check::name
virtual const char * name() const
Definition:
license_check.hpp:24
lifev-release-doc
tools
inspect
license_check.hpp
Generated on Wed Mar 7 2018 19:43:06 for LifeV by
1.8.13