]> git.lyx.org Git - features.git/blob - boost/boost/filesystem/convenience.hpp
boost::filesystem added
[features.git] / boost / boost / filesystem / convenience.hpp
1 //  boost/filesystem/convenience.hpp  ----------------------------------------//
2
3 //  (C) Copyright Beman Dawes, 2002
4 //  (C) Copyright Vladimir Prus, 2002
5 //  Permission to copy, use, modify, sell and distribute this software
6 //  is granted provided this copyright notice appears in all copies.
7 //  This software is provided "as is" without express or implied
8 //  warranty, and with no claim as to its suitability for any purpose.
9
10
11 //  See http://www.boost.org/libs/filesystem for documentation.
12
13 //----------------------------------------------------------------------------// 
14
15 #ifndef BOOST_FILESYSTEM_CONVENIENCE_HPP
16 #define BOOST_FILESYSTEM_CONVENIENCE_HPP
17
18 #include <boost/filesystem/path.hpp>
19 #include <boost/filesystem/operations.hpp>
20
21 namespace boost
22 {
23   namespace filesystem
24   {
25
26 //  create_directories (contributed by Vladimir Prus)  -----------------------//
27
28
29     /** Creates directory 'ph' and all necessary parent directories.
30         @post exists(directory_ph) && is_directory(directory_ph) && is_empty(directory_ph)
31      */
32     void create_directories(const path& ph);
33
34   } // namespace filesystem
35 } // namespace boost
36 #endif // BOOST_FILESYSTEM_CONVENIENCE_HPP
37
38