Line | |
---|
1 | // boost/filesystem/convenience.hpp ----------------------------------------//
|
---|
2 |
|
---|
3 | // © Copyright Beman Dawes, 2002
|
---|
4 | // © Copyright Vladimir Prus, 2002
|
---|
5 | // Use, modification, and distribution is subject to the Boost Software
|
---|
6 | // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
|
---|
7 | // http://www.boost.org/LICENSE_1_0.txt)
|
---|
8 |
|
---|
9 | // See library home page at http://www.boost.org/libs/filesystem
|
---|
10 |
|
---|
11 | //----------------------------------------------------------------------------//
|
---|
12 |
|
---|
13 | #ifndef BOOST_FILESYSTEM_CONVENIENCE_HPP
|
---|
14 | #define BOOST_FILESYSTEM_CONVENIENCE_HPP
|
---|
15 |
|
---|
16 | #include <boost/filesystem/path.hpp> // includes <boost/filesystem/config.hpp>
|
---|
17 | #include <boost/filesystem/operations.hpp>
|
---|
18 |
|
---|
19 | #include <boost/config/abi_prefix.hpp> // must be the last header
|
---|
20 |
|
---|
21 | namespace boost
|
---|
22 | {
|
---|
23 | namespace filesystem
|
---|
24 | {
|
---|
25 |
|
---|
26 | BOOST_FILESYSTEM_DECL bool create_directories(const path& ph);
|
---|
27 |
|
---|
28 | BOOST_FILESYSTEM_DECL std::string extension(const path& ph);
|
---|
29 |
|
---|
30 | BOOST_FILESYSTEM_DECL std::string basename(const path& ph);
|
---|
31 |
|
---|
32 | BOOST_FILESYSTEM_DECL path change_extension(const path& ph,
|
---|
33 | const std::string& new_extension);
|
---|
34 |
|
---|
35 | } // namespace filesystem
|
---|
36 | } // namespace boost
|
---|
37 |
|
---|
38 | #include <boost/config/abi_suffix.hpp> // pops abi_suffix.hpp pragmas
|
---|
39 | #endif // BOOST_FILESYSTEM_CONVENIENCE_HPP
|
---|
Note: See
TracBrowser
for help on using the repository browser.