LifeV
tab_check.cpp
Go to the documentation of this file.
1
// tab_check implementation ------------------------------------------------//
2
3
// Copyright Beman Dawes 2002.
4
// Distributed under the Boost Software License, Version 1.0.
5
// (See accompanying file LICENSE_1_0.txt or copy at
6
// http://www.boost.org/LICENSE_1_0.txt)
7
8
#
include
"tab_check.hpp"
9
10
namespace
boost
11
{
12
namespace
inspect
13
{
14
tab_check
::
tab_check
() :
m_files_with_errors
(0)
15
{
16
register_signature (
".c"
);
17
register_signature (
".cpp"
);
18
register_signature (
".cxx"
);
19
register_signature (
".h"
);
20
register_signature (
".hpp"
);
21
register_signature (
".hxx"
);
22
register_signature (
".ipp"
);
23
register_signature (
"Jamfile"
);
24
register_signature (
".py"
);
25
}
26
27
void
tab_check
::inspect (
28
const
string& library_name,
29
const
path& full_path,
// example: c:/foo/boost/filesystem/path.hpp
30
const
string& contents )
// contents of file to be inspected
31
{
32
if
( contents.find (
'\t'
) != string::npos )
33
{
34
++
m_files_with_errors
;
35
error ( library_name, full_path, desc() );
36
}
37
}
38
}
// namespace inspect
39
}
// namespace boost
boost
Definition:
copyright_check.cpp:10
boost::inspect::tab_check
Definition:
tab_check.hpp:17
boost::inspect::tab_check::tab_check
tab_check()
Definition:
tab_check.cpp:14
boost::inspect::tab_check::m_files_with_errors
long m_files_with_errors
Definition:
tab_check.hpp:19
boost::inspect
Definition:
copyright_check.cpp:12
lifev-release-doc
tools
inspect
tab_check.cpp
Generated on Wed Mar 7 2018 19:49:49 for LifeV by
1.8.13