Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
operations.hpp File Reference
#include <boost/config.hpp>
#include <boost/filesystem/config.hpp>
#include <boost/filesystem/path.hpp>
#include <boost/detail/scoped_enum_emulation.hpp>
#include <boost/detail/bitmask.hpp>
#include <boost/system/error_code.hpp>
#include <boost/system/system_error.hpp>
#include <boost/shared_ptr.hpp>
#include <boost/utility/enable_if.hpp>
#include <boost/type_traits/is_same.hpp>
#include <boost/iterator.hpp>
#include <boost/cstdint.hpp>
#include <boost/range/mutable_iterator.hpp>
#include <boost/range/const_iterator.hpp>
#include <boost/assert.hpp>
#include <string>
#include <utility>
#include <ctime>
#include <vector>
#include <stack>
#include <boost/config/abi_prefix.hpp>
#include <boost/config/abi_suffix.hpp>
Include dependency graph for operations.hpp:
This graph shows which files directly or indirectly include this file:

Classes

class  boost::filesystem::filesystem_error
 
class  boost::filesystem::file_status
 
struct  boost::filesystem::space_info
 
class  boost::filesystem::directory_entry
 
struct  boost::filesystem::detail::dir_itr_imp
 
class  boost::filesystem::directory_iterator
 
struct  boost::range_mutable_iterator< boost::filesystem::directory_iterator >
 
struct  boost::range_const_iterator< boost::filesystem::directory_iterator >
 
struct  boost::filesystem::detail::recur_dir_itr_imp
 
class  boost::filesystem::recursive_directory_iterator
 
struct  boost::range_mutable_iterator< boost::filesystem::recursive_directory_iterator >
 
struct  boost::range_const_iterator< boost::filesystem::recursive_directory_iterator >
 

Namespaces

 boost
 Duration formatting facet for input.
 
 boost::filesystem
 
 boost::filesystem::detail
 

Typedefs

typedef
recursive_directory_iterator 
boost::filesystem::wrecursive_directory_iterator
 

Enumerations

enum  boost::filesystem::file_type {
  boost::filesystem::status_error,
  boost::filesystem::status_unknown = status_error,
  boost::filesystem::file_not_found,
  boost::filesystem::regular_file,
  boost::filesystem::directory_file,
  boost::filesystem::symlink_file,
  boost::filesystem::block_file,
  boost::filesystem::character_file,
  boost::filesystem::fifo_file,
  boost::filesystem::socket_file,
  boost::filesystem::reparse_file,
  boost::filesystem::type_unknown,
  boost::filesystem::_detail_directory_symlink
}
 
enum  boost::filesystem::perms {
  boost::filesystem::no_perms = 0,
  boost::filesystem::owner_read = 0400,
  boost::filesystem::owner_write = 0200,
  boost::filesystem::owner_exe = 0100,
  boost::filesystem::owner_all = 0700,
  boost::filesystem::group_read = 040,
  boost::filesystem::group_write = 020,
  boost::filesystem::group_exe = 010,
  boost::filesystem::group_all = 070,
  boost::filesystem::others_read = 04,
  boost::filesystem::others_write = 02,
  boost::filesystem::others_exe = 01,
  boost::filesystem::others_all = 07,
  boost::filesystem::all_all = 0777,
  boost::filesystem::set_uid_on_exe = 04000,
  boost::filesystem::set_gid_on_exe = 02000,
  boost::filesystem::sticky_bit = 01000,
  boost::filesystem::perms_mask = 07777,
  boost::filesystem::perms_not_known = 0xFFFF,
  boost::filesystem::add_perms = 0x1000,
  boost::filesystem::remove_perms = 0x2000,
  boost::filesystem::symlink_perms = 0x4000
}
 
enum  boost::filesystem::detail::copy_option {
  boost::filesystem::detail::none =0,
  boost::filesystem::detail::fail_if_exists = none,
  boost::filesystem::detail::overwrite_if_exists
}
 

Functions

bool boost::filesystem::type_present (file_status f)
 
bool boost::filesystem::permissions_present (file_status f)
 
bool boost::filesystem::status_known (file_status f)
 
bool boost::filesystem::exists (file_status f)
 
bool boost::filesystem::is_regular_file (file_status f)
 
bool boost::filesystem::is_directory (file_status f)
 
bool boost::filesystem::is_symlink (file_status f)
 
bool boost::filesystem::is_other (file_status f)
 
bool boost::filesystem::is_regular (file_status f)
 
 boost::filesystem::BOOST_SCOPED_ENUM_START (copy_option)
 
BOOST_FILESYSTEM_DECL file_status boost::filesystem::detail::status (const path &p, system::error_code *ec=0)
 
BOOST_FILESYSTEM_DECL file_status boost::filesystem::detail::symlink_status (const path &p, system::error_code *ec=0)
 
BOOST_FILESYSTEM_DECL bool boost::filesystem::detail::is_empty (const path &p, system::error_code *ec=0)
 
BOOST_FILESYSTEM_DECL path boost::filesystem::detail::initial_path (system::error_code *ec=0)
 
BOOST_FILESYSTEM_DECL path boost::filesystem::detail::canonical (const path &p, const path &base, system::error_code *ec=0)
 
BOOST_FILESYSTEM_DECL void boost::filesystem::detail::copy (const path &from, const path &to, system::error_code *ec=0)
 
BOOST_FILESYSTEM_DECL void boost::filesystem::detail::copy_directory (const path &from, const path &to, system::error_code *ec=0)
 
BOOST_FILESYSTEM_DECL void boost::filesystem::detail::copy_file (const path &from, const path &to, detail::copy_option option, system::error_code *ec=0)
 
BOOST_FILESYSTEM_DECL void boost::filesystem::detail::copy_symlink (const path &existing_symlink, const path &new_symlink, system::error_code *ec=0)
 
BOOST_FILESYSTEM_DECL bool boost::filesystem::detail::create_directories (const path &p, system::error_code *ec=0)
 
BOOST_FILESYSTEM_DECL bool boost::filesystem::detail::create_directory (const path &p, system::error_code *ec=0)
 
BOOST_FILESYSTEM_DECL void boost::filesystem::detail::create_directory_symlink (const path &to, const path &from, system::error_code *ec=0)
 
BOOST_FILESYSTEM_DECL void boost::filesystem::detail::create_hard_link (const path &to, const path &from, system::error_code *ec=0)
 
BOOST_FILESYSTEM_DECL void boost::filesystem::detail::create_symlink (const path &to, const path &from, system::error_code *ec=0)
 
BOOST_FILESYSTEM_DECL path boost::filesystem::detail::current_path (system::error_code *ec=0)
 
BOOST_FILESYSTEM_DECL void boost::filesystem::detail::current_path (const path &p, system::error_code *ec=0)
 
BOOST_FILESYSTEM_DECL bool boost::filesystem::detail::equivalent (const path &p1, const path &p2, system::error_code *ec=0)
 
BOOST_FILESYSTEM_DECL
boost::uintmax_t 
boost::filesystem::detail::file_size (const path &p, system::error_code *ec=0)
 
BOOST_FILESYSTEM_DECL
boost::uintmax_t 
boost::filesystem::detail::hard_link_count (const path &p, system::error_code *ec=0)
 
BOOST_FILESYSTEM_DECL std::time_t boost::filesystem::detail::last_write_time (const path &p, system::error_code *ec=0)
 
BOOST_FILESYSTEM_DECL void boost::filesystem::detail::last_write_time (const path &p, const std::time_t new_time, system::error_code *ec=0)
 
BOOST_FILESYSTEM_DECL void boost::filesystem::detail::permissions (const path &p, perms prms, system::error_code *ec=0)
 
BOOST_FILESYSTEM_DECL path boost::filesystem::detail::read_symlink (const path &p, system::error_code *ec=0)
 
BOOST_FILESYSTEM_DECL bool boost::filesystem::detail::remove (const path &p, system::error_code *ec=0)
 
BOOST_FILESYSTEM_DECL
boost::uintmax_t 
boost::filesystem::detail::remove_all (const path &p, system::error_code *ec=0)
 
BOOST_FILESYSTEM_DECL void boost::filesystem::detail::rename (const path &old_p, const path &new_p, system::error_code *ec=0)
 
BOOST_FILESYSTEM_DECL void boost::filesystem::detail::resize_file (const path &p, uintmax_t size, system::error_code *ec=0)
 
BOOST_FILESYSTEM_DECL space_info boost::filesystem::detail::space (const path &p, system::error_code *ec=0)
 
BOOST_FILESYSTEM_DECL path boost::filesystem::detail::system_complete (const path &p, system::error_code *ec=0)
 
BOOST_FILESYSTEM_DECL path boost::filesystem::detail::temp_directory_path (system::error_code *ec=0)
 
BOOST_FILESYSTEM_DECL path boost::filesystem::detail::unique_path (const path &p, system::error_code *ec=0)
 
file_status boost::filesystem::status (const path &p)
 
file_status boost::filesystem::status (const path &p, system::error_code &ec)
 
file_status boost::filesystem::symlink_status (const path &p)
 
file_status boost::filesystem::symlink_status (const path &p, system::error_code &ec)
 
bool boost::filesystem::exists (const path &p)
 
bool boost::filesystem::exists (const path &p, system::error_code &ec)
 
bool boost::filesystem::is_directory (const path &p)
 
bool boost::filesystem::is_directory (const path &p, system::error_code &ec)
 
bool boost::filesystem::is_regular_file (const path &p)
 
bool boost::filesystem::is_regular_file (const path &p, system::error_code &ec)
 
bool boost::filesystem::is_other (const path &p)
 
bool boost::filesystem::is_other (const path &p, system::error_code &ec)
 
bool boost::filesystem::is_symlink (const path &p)
 
bool boost::filesystem::is_symlink (const path &p, system::error_code &ec)
 
bool boost::filesystem::is_regular (const path &p)
 
bool boost::filesystem::is_regular (const path &p, system::error_code &ec)
 
bool boost::filesystem::is_empty (const path &p)
 
bool boost::filesystem::is_empty (const path &p, system::error_code &ec)
 
path boost::filesystem::current_path ()
 
path boost::filesystem::initial_path ()
 
BOOST_FILESYSTEM_DECL path boost::filesystem::absolute (const path &p, const path &base=current_path())
 
path boost::filesystem::canonical (const path &p, const path &base=current_path())
 
path boost::filesystem::canonical (const path &p, system::error_code &ec)
 
path boost::filesystem::canonical (const path &p, const path &base, system::error_code &ec)
 
path boost::filesystem::complete (const path &p)
 
path boost::filesystem::complete (const path &p, const path &base)
 
void boost::filesystem::copy (const path &from, const path &to)
 
void boost::filesystem::copy (const path &from, const path &to, system::error_code &ec)
 
void boost::filesystem::copy_directory (const path &from, const path &to)
 
void boost::filesystem::copy_directory (const path &from, const path &to, system::error_code &ec)
 
void boost::filesystem::copy_file (const path &from, const path &to, BOOST_SCOPED_ENUM(copy_option) option)
 
void boost::filesystem::copy_file (const path &from, const path &to)
 
void boost::filesystem::copy_file (const path &from, const path &to, BOOST_SCOPED_ENUM(copy_option) option, system::error_code &ec)
 
void boost::filesystem::copy_file (const path &from, const path &to, system::error_code &ec)
 
void boost::filesystem::copy_symlink (const path &existing_symlink, const path &new_symlink)
 
void boost::filesystem::copy_symlink (const path &existing_symlink, const path &new_symlink, system::error_code &ec)
 
bool boost::filesystem::create_directories (const path &p)
 
bool boost::filesystem::create_directories (const path &p, system::error_code &ec)
 
bool boost::filesystem::create_directory (const path &p)
 
bool boost::filesystem::create_directory (const path &p, system::error_code &ec)
 
void boost::filesystem::create_directory_symlink (const path &to, const path &from)
 
void boost::filesystem::create_directory_symlink (const path &to, const path &from, system::error_code &ec)
 
void boost::filesystem::create_hard_link (const path &to, const path &new_hard_link)
 
void boost::filesystem::create_hard_link (const path &to, const path &new_hard_link, system::error_code &ec)
 
void boost::filesystem::create_symlink (const path &to, const path &new_symlink)
 
void boost::filesystem::create_symlink (const path &to, const path &new_symlink, system::error_code &ec)
 
path boost::filesystem::current_path (system::error_code &ec)
 
void boost::filesystem::current_path (const path &p)
 
void boost::filesystem::current_path (const path &p, system::error_code &ec)
 
bool boost::filesystem::equivalent (const path &p1, const path &p2)
 
bool boost::filesystem::equivalent (const path &p1, const path &p2, system::error_code &ec)
 
boost::uintmax_t boost::filesystem::file_size (const path &p)
 
boost::uintmax_t boost::filesystem::file_size (const path &p, system::error_code &ec)
 
boost::uintmax_t boost::filesystem::hard_link_count (const path &p)
 
boost::uintmax_t boost::filesystem::hard_link_count (const path &p, system::error_code &ec)
 
path boost::filesystem::initial_path (system::error_code &ec)
 
std::time_t boost::filesystem::last_write_time (const path &p)
 
std::time_t boost::filesystem::last_write_time (const path &p, system::error_code &ec)
 
void boost::filesystem::last_write_time (const path &p, const std::time_t new_time)
 
void boost::filesystem::last_write_time (const path &p, const std::time_t new_time, system::error_code &ec)
 
void boost::filesystem::permissions (const path &p, perms prms)
 
void boost::filesystem::permissions (const path &p, perms prms, system::error_code &ec)
 
path boost::filesystem::read_symlink (const path &p)
 
path boost::filesystem::read_symlink (const path &p, system::error_code &ec)
 
bool boost::filesystem::remove (const path &p)
 
bool boost::filesystem::remove (const path &p, system::error_code &ec)
 
boost::uintmax_t boost::filesystem::remove_all (const path &p)
 
boost::uintmax_t boost::filesystem::remove_all (const path &p, system::error_code &ec)
 
void boost::filesystem::rename (const path &old_p, const path &new_p)
 
void boost::filesystem::rename (const path &old_p, const path &new_p, system::error_code &ec)
 
void boost::filesystem::resize_file (const path &p, uintmax_t size)
 
void boost::filesystem::resize_file (const path &p, uintmax_t size, system::error_code &ec)
 
space_info boost::filesystem::space (const path &p)
 
space_info boost::filesystem::space (const path &p, system::error_code &ec)
 
bool boost::filesystem::symbolic_link_exists (const path &p)
 
path boost::filesystem::system_complete (const path &p)
 
path boost::filesystem::system_complete (const path &p, system::error_code &ec)
 
path boost::filesystem::temp_directory_path ()
 
path boost::filesystem::temp_directory_path (system::error_code &ec)
 
path boost::filesystem::unique_path (const path &p="%%%%-%%%%-%%%%-%%%%")
 
path boost::filesystem::unique_path (const path &p, system::error_code &ec)
 
BOOST_FILESYSTEM_DECL
system::error_code 
boost::filesystem::detail::dir_itr_close (void *&handle)
 
BOOST_FILESYSTEM_DECL void boost::filesystem::detail::directory_iterator_construct (directory_iterator &it, const path &p, system::error_code *ec)
 
BOOST_FILESYSTEM_DECL void boost::filesystem::detail::directory_iterator_increment (directory_iterator &it, system::error_code *ec)
 
const directory_iterator & boost::filesystem::begin (const directory_iterator &iter)
 
directory_iterator boost::filesystem::end (const directory_iterator &)
 
directory_iterator & boost::filesystem::range_begin (directory_iterator &iter)
 
directory_iterator boost::filesystem::range_begin (const directory_iterator &iter)
 
directory_iterator boost::filesystem::range_end (const directory_iterator &)
 
 boost::filesystem::BOOST_SCOPED_ENUM_START (symlink_option)
 
const
recursive_directory_iterator & 
boost::filesystem::begin (const recursive_directory_iterator &iter)
 
recursive_directory_iterator boost::filesystem::end (const recursive_directory_iterator &)
 
recursive_directory_iterator & boost::filesystem::range_begin (recursive_directory_iterator &iter)
 
recursive_directory_iterator boost::filesystem::range_begin (const recursive_directory_iterator &iter)
 
recursive_directory_iterator boost::filesystem::range_end (const recursive_directory_iterator &)
 
BOOST_FILESYSTEM_DECL bool boost::filesystem::detail::possible_large_file_size_support ()