Boost C++ 函授库

... 全球最受推崇且设计精良的 C++ 函授库项目之一。 赫伯·萨特安德烈·亚历山德雷斯库C++ 编码标准

tools/inspect/src/path_name_check.hpp

//  long_name_check header  --------------------------------------------------//
//  (main class renamed to: file_name_check) - gps

//  Copyright Beman Dawes 2002.
//  Copyright Gennaro Prota 2006.
//
//  Distributed under the Boost Software License, Version 1.0.
//  (See accompanying file LICENSE_1_0.txt or copy at
//  https://boost.ac.cn/LICENSE_1_0.txt)

#ifndef BOOST_FILE_NAME_CHECK_HPP
#define BOOST_FILE_NAME_CHECK_HPP

#include "inspector.hpp"

namespace boost
{
  namespace inspect
  {
    class file_name_check : public inspector
    {
      long m_name_errors;

    public:

      file_name_check();
      virtual ~file_name_check();

      virtual const char * name() const { return "*N*"; }
      virtual const char * desc() const { return "file and directory name issues"; }

      virtual void inspect(
        const string & library_name,
        const path & full_path );

      virtual void inspect(
        const string &, // "filesystem"
        const path &,   // "c:/foo/boost/filesystem/path.hpp"
        const string &)
      { /* empty */ }



    };
  }
}

#endif // BOOST_FILE_NAME_CHECK_HPP