LifeV
tab_check.hpp
Go to the documentation of this file.
1 // tab_check header --------------------------------------------------------//
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 #ifndef BOOST_TAB_CHECK_HPP
9 #define BOOST_TAB_CHECK_HPP
10 
11 #include "inspector.hpp"
12 
13 namespace boost
14 {
15 namespace inspect
16 {
17 class tab_check : public inspector
18 {
20 public:
21 
22  tab_check();
23  virtual const char* name() const
24  {
25  return "tab-check";
26  }
27  virtual const char* desc() const
28  {
29  return "tabs in file";
30  }
31 
32  virtual void inspect (
33  const std::string& library_name,
34  const path& full_path,
35  const std::string& contents );
36 
37  virtual ~tab_check()
38  {
39  std::cout << " " << m_files_with_errors << " files with tabs\n";
40  }
41 };
42 }
43 }
44 
45 #endif // BOOST_TAB_CHECK_HPP
virtual void inspect(const std::string &library_name, const path &full_path, const std::string &contents)
Definition: tab_check.cpp:27
virtual const char * name() const
Definition: tab_check.hpp:23
virtual const char * desc() const
Definition: tab_check.hpp:27