Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/boost_1_34_1/tools/inspect/long_name_check.hpp @ 30

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: 1.4 KB
Line 
1//  long_name_check header  --------------------------------------------------//
2//  (main class renamed to: file_name_check) - gps
3
4//  Copyright Beman Dawes 2002.
5//  Copyright Gennaro Prota 2006.
6//
7//  Distributed under the Boost Software License, Version 1.0.
8//  (See accompanying file LICENSE_1_0.txt or copy at
9//  http://www.boost.org/LICENSE_1_0.txt)
10
11#ifndef BOOST_FILE_NAME_CHECK_HPP
12#define BOOST_FILE_NAME_CHECK_HPP
13
14#include "inspector.hpp"
15
16namespace boost
17{
18  namespace inspect
19  {
20    class file_name_check : public inspector
21    {
22      long m_name_errors;
23
24      // ISO 9660 Level 3
25      //
26      struct iso_9660_limits
27      {
28          enum { max_directory_depth = 8 };
29          enum { max_dirname_length = 31 };
30          enum { max_filename_length = 31 }; // > level 2!
31
32          static const char name[];
33      };
34
35    public:
36
37      typedef iso_9660_limits limits;
38
39      file_name_check();
40      virtual ~file_name_check();
41
42      virtual const char * name() const { return "*N*"; }
43      virtual const char * desc() const { return "file/directory names issues"; }
44
45      virtual void inspect(
46        const string & library_name,
47        const path & full_path );
48
49      virtual void inspect(
50        const string &, // "filesystem"
51        const path &,   // "c:/foo/boost/filesystem/path.hpp"
52        const string &)
53      { /* empty */ }
54
55
56
57    };
58  }
59}
60
61#endif // BOOST_FILE_NAME_CHECK_HPP
Note: See TracBrowser for help on using the repository browser.