Last change
on this file since 30 was
29,
checked in by landauf, 17 years ago
|
updated boost from 1_33_1 to 1_34_1
|
File size:
926 bytes
|
Rev | Line | |
---|
[29] | 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 | { |
---|
| 19 | long m_files_with_errors; |
---|
| 20 | public: |
---|
| 21 | |
---|
| 22 | tab_check(); |
---|
| 23 | virtual const char * name() const { return "*T*"; } |
---|
| 24 | virtual const char * desc() const { return "tabs in file"; } |
---|
| 25 | |
---|
| 26 | virtual void inspect( |
---|
| 27 | const std::string & library_name, |
---|
| 28 | const path & full_path, |
---|
| 29 | const std::string & contents ); |
---|
| 30 | |
---|
| 31 | virtual ~tab_check() |
---|
| 32 | { std::cout << " " << m_files_with_errors << " files with tabs\n"; } |
---|
| 33 | }; |
---|
| 34 | } |
---|
| 35 | } |
---|
| 36 | |
---|
| 37 | #endif // BOOST_TAB_CHECK_HPP |
---|
Note: See
TracBrowser
for help on using the repository browser.