LifeV
crlf_check.hpp
Go to the documentation of this file.
1
// crfl_check header --------------------------------------------------------//
2
3
// Copyright Beman Dawes 2002.
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
// Contributed by Joerg Walter
10
11
#
ifndef
BOOST_CRLF_CHECK_HPP
12
#
define
BOOST_CRLF_CHECK_HPP
13
14
#
include
"inspector.hpp"
15
16
namespace
boost
17
{
18
namespace
inspect
19
{
20
class
crlf_check
:
public
source_inspector
21
{
22
long
m_files_with_errors
;
23
public
:
24
25
crlf_check
();
26
virtual
const
char
*
name
()
const
27
{
28
return
"crlf-check"
;
29
}
30
virtual
const
char
*
desc
()
const
31
{
32
return
"invalid (cr only) line-ending"
;
33
}
34
35
virtual
void
inspect
(
36
const
std::string& library_name,
37
const
path& full_path,
38
const
std::string& contents );
39
40
virtual
~
crlf_check
()
41
{
42
std::cout <<
" "
<< m_files_with_errors <<
" files with invalid line endings\n"
;
43
}
44
};
45
}
46
}
47
48
#
endif
// BOOST_CRLF_CHECK_HPP
boost::inspect::crlf_check::~crlf_check
virtual ~crlf_check()
Definition:
crlf_check.hpp:40
boost
Definition:
copyright_check.cpp:10
boost::inspect::source_inspector
Definition:
inspector.hpp:67
boost::inspect::crlf_check::name
virtual const char * name() const
Definition:
crlf_check.hpp:26
boost::inspect::crlf_check::m_files_with_errors
long m_files_with_errors
Definition:
crlf_check.hpp:22
boost::inspect::crlf_check::crlf_check
crlf_check()
Definition:
crlf_check.cpp:16
boost::inspect::crlf_check::desc
virtual const char * desc() const
Definition:
crlf_check.hpp:30
boost::inspect::crlf_check::inspect
virtual void inspect(const std::string &library_name, const path &full_path, const std::string &contents)
Definition:
crlf_check.cpp:20
boost::inspect
Definition:
copyright_check.cpp:12
boost::inspect::crlf_check
Definition:
crlf_check.hpp:20
lifev-release-doc
tools
inspect
crlf_check.hpp
Generated on Wed Mar 7 2018 19:41:11 for LifeV by
1.8.13