// boost/filesystem/convenience.hpp ----------------------------------------// // © Copyright Beman Dawes, 2002 // © Copyright Vladimir Prus, 2002 // Use, modification, and distribution is subject to the Boost Software // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // See library home page at http://www.boost.org/libs/filesystem //----------------------------------------------------------------------------// #ifndef BOOST_FILESYSTEM_CONVENIENCE_HPP #define BOOST_FILESYSTEM_CONVENIENCE_HPP #include // includes #include #include // must be the last header namespace boost { namespace filesystem { BOOST_FILESYSTEM_DECL bool create_directories(const path& ph); BOOST_FILESYSTEM_DECL std::string extension(const path& ph); BOOST_FILESYSTEM_DECL std::string basename(const path& ph); BOOST_FILESYSTEM_DECL path change_extension(const path& ph, const std::string& new_extension); } // namespace filesystem } // namespace boost #include // pops abi_suffix.hpp pragmas #endif // BOOST_FILESYSTEM_CONVENIENCE_HPP