STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Classes | Namespaces | Macros | Typedefs | Enumerations | Functions
filesystem File Reference
#include <algorithm>
#include <chrono>
#include <codecvt>
#include <list>
#include <locale>
#include <memory>
#include <vector>

Classes

class  experimental::filesystem::v1::file_status
 
struct  experimental::filesystem::v1::space_info
 
struct  experimental::filesystem::v1::_Path_cvt< _Inchar, _Outchar, _Outtraits, _Outalloc >
 
struct  experimental::filesystem::v1::_Path_cvt< _Outchar, _Outchar, _Outtraits, _Outalloc >
 
struct  experimental::filesystem::v1::_Path_cvt< char, char16_t, _Outtraits, _Outalloc >
 
struct  experimental::filesystem::v1::_Path_cvt< char16_t, char, _Outtraits, _Outalloc >
 
struct  experimental::filesystem::v1::_Path_cvt< char, char32_t, _Outtraits, _Outalloc >
 
struct  experimental::filesystem::v1::_Path_cvt< char32_t, char, _Outtraits, _Outalloc >
 
struct  experimental::filesystem::v1::_Path_cvt< char, wchar_t, _Outtraits, _Outalloc >
 
struct  experimental::filesystem::v1::_Path_cvt< wchar_t, char, _Outtraits, _Outalloc >
 
struct  experimental::filesystem::v1::_Path_cvt< char, char8_t, char_traits< char >, allocator< char > >
 
struct  experimental::filesystem::v1::_Path_cvt< char8_t, char, _Outtraits, _Outalloc >
 
struct  experimental::filesystem::v1::_Path_cvt< wchar_t, char8_t, char_traits< char >, allocator< char > >
 
struct  experimental::filesystem::v1::_Path_cvt< char8_t, wchar_t, _Outtraits, _Outalloc >
 
struct  experimental::filesystem::v1::_Path_cvt< wchar_t, char32_t, _Outtraits, _Outalloc >
 
struct  experimental::filesystem::v1::_Path_cvt< char32_t, wchar_t, _Outtraits, _Outalloc >
 
class  experimental::filesystem::v1::_Path_iterator< _Path_type >
 
class  experimental::filesystem::v1::path
 
class  experimental::filesystem::v1::filesystem_error
 
class  experimental::filesystem::v1::directory_entry
 
class  experimental::filesystem::v1::_Directory_iterator< _Prefix_directory >
 
class  experimental::filesystem::v1::recursive_directory_iterator
 

Namespaces

 experimental
 
 experimental::filesystem
 
 experimental::filesystem::v1
 
 tr2
 
 tr2::sys
 

Macros

#define _FILESYSTEM_
 
#define _FS_DLL   extern "C" _CRTIMP2_PURE
 
#define _MAX_FILESYS_NAME   260 /* longest Windows or Posix filename + 1 */
 
#define _FS_ISSEP(x)   ((x) == L'/' || (x) == L'\\')
 
#define _FS_PREF   L'\\'
 
#define _FS_COLON   L':'
 
#define _FS_PERIOD   L'.'
 
#define _FS_SLASH   L'/'
 
#define _FS_BSLASH   L'\\'
 
#define _FSPFX   _STD experimental::filesystem::v1::
 

Typedefs

typedef wchar_t experimental::filesystem::v1::_Pchar
 
typedef file_type experimental::filesystem::v1::_File_type
 
typedef copy_options experimental::filesystem::v1::_Copy_options
 
typedef directory_options experimental::filesystem::v1::_Directory_options
 
typedef perms experimental::filesystem::v1::_Perms
 
typedef chrono::system_clock::time_point experimental::filesystem::v1::file_time_type
 
typedef _Directory_iterator< true_typeexperimental::filesystem::v1::directory_iterator
 

Enumerations

enum  experimental::filesystem::v1::file_type {
  experimental::filesystem::v1::file_type::not_found = -1, experimental::filesystem::v1::file_type::none, experimental::filesystem::v1::file_type::regular, experimental::filesystem::v1::file_type::directory,
  experimental::filesystem::v1::file_type::symlink, experimental::filesystem::v1::file_type::block, experimental::filesystem::v1::file_type::character, experimental::filesystem::v1::file_type::fifo,
  experimental::filesystem::v1::file_type::socket, experimental::filesystem::v1::file_type::unknown
}
 
enum  experimental::filesystem::v1::copy_options {
  experimental::filesystem::v1::copy_options::none = 0, experimental::filesystem::v1::copy_options::skip_existing = 1, experimental::filesystem::v1::copy_options::overwrite_existing = 2, experimental::filesystem::v1::copy_options::update_existing = 4,
  experimental::filesystem::v1::copy_options::recursive = 8, experimental::filesystem::v1::copy_options::copy_symlinks = 16, experimental::filesystem::v1::copy_options::skip_symlinks = 32, experimental::filesystem::v1::copy_options::directories_only = 64,
  experimental::filesystem::v1::copy_options::create_symlinks = 128, experimental::filesystem::v1::copy_options::create_hard_links = 256, experimental::filesystem::v1::copy_options::_Unspecified_recursion_prevention_tag = 512
}
 
enum  experimental::filesystem::v1::directory_options { experimental::filesystem::v1::directory_options::none = 0, experimental::filesystem::v1::directory_options::follow_directory_symlink }
 
enum  experimental::filesystem::v1::perms {
  experimental::filesystem::v1::perms::none = 0, experimental::filesystem::v1::perms::owner_read = 0400, experimental::filesystem::v1::perms::owner_write = 0200, experimental::filesystem::v1::perms::owner_exec = 0100,
  experimental::filesystem::v1::perms::owner_all = 0700, experimental::filesystem::v1::perms::group_read = 040, experimental::filesystem::v1::perms::group_write = 020, experimental::filesystem::v1::perms::group_exec = 010,
  experimental::filesystem::v1::perms::group_all = 070, experimental::filesystem::v1::perms::others_read = 04, experimental::filesystem::v1::perms::others_write = 02, experimental::filesystem::v1::perms::others_exec = 01,
  experimental::filesystem::v1::perms::others_all = 07, experimental::filesystem::v1::perms::all = 0777, experimental::filesystem::v1::perms::set_uid = 04000, experimental::filesystem::v1::perms::set_gid = 02000,
  experimental::filesystem::v1::perms::sticky_bit = 01000, experimental::filesystem::v1::perms::mask = 07777, experimental::filesystem::v1::perms::unknown = 0xFFFF, experimental::filesystem::v1::perms::add_perms = 0x10000,
  experimental::filesystem::v1::perms::remove_perms = 0x20000, experimental::filesystem::v1::perms::resolve_symlinks = 0x40000
}
 

Functions

_FS_DLL void *__CLRCALL_PURE_OR_CDECL experimental::filesystem::v1::_Open_dir (wchar_t(&)[_MAX_FILESYS_NAME], const wchar_t *, int &, _File_type &)
 
_FS_DLL wchar_t *__CLRCALL_PURE_OR_CDECL experimental::filesystem::v1::_Read_dir (wchar_t(&)[_MAX_FILESYS_NAME], void *, _File_type &)
 
_FS_DLL void __CLRCALL_PURE_OR_CDECL experimental::filesystem::v1::_Close_dir (void *)
 
_FS_DLL bool __CLRCALL_PURE_OR_CDECL experimental::filesystem::v1::_Current_get (wchar_t(&)[_MAX_FILESYS_NAME])
 
_FS_DLL bool __CLRCALL_PURE_OR_CDECL experimental::filesystem::v1::_Current_set (const wchar_t *)
 
_FS_DLL wchar_t *__CLRCALL_PURE_OR_CDECL experimental::filesystem::v1::_Symlink_get (wchar_t(&)[_MAX_FILESYS_NAME], const wchar_t *)
 
_FS_DLL wchar_t *__CLRCALL_PURE_OR_CDECL experimental::filesystem::v1::_Temp_get (wchar_t(&)[_MAX_FILESYS_NAME])
 
_FS_DLL int __CLRCALL_PURE_OR_CDECL experimental::filesystem::v1::_Make_dir (const wchar_t *, const wchar_t *)
 
_FS_DLL bool __CLRCALL_PURE_OR_CDECL experimental::filesystem::v1::_Remove_dir (const wchar_t *)
 
_FS_DLL _File_type __CLRCALL_PURE_OR_CDECL experimental::filesystem::v1::_Stat (const wchar_t *, _Perms *)
 
_FS_DLL _File_type __CLRCALL_PURE_OR_CDECL experimental::filesystem::v1::_Lstat (const wchar_t *, _Perms *)
 
_FS_DLL uintmax_t __CLRCALL_PURE_OR_CDECL experimental::filesystem::v1::_File_size (const wchar_t *)
 
_FS_DLL uintmax_t __CLRCALL_PURE_OR_CDECL experimental::filesystem::v1::_Hard_links (const wchar_t *)
 
_FS_DLL int64_t __CLRCALL_PURE_OR_CDECL experimental::filesystem::v1::_Last_write_time (const wchar_t *)
 
_FS_DLL int __CLRCALL_PURE_OR_CDECL experimental::filesystem::v1::_Set_last_write_time (const wchar_t *, int64_t)
 
_FS_DLL space_info __CLRCALL_PURE_OR_CDECL experimental::filesystem::v1::_Statvfs (const wchar_t *)
 
_FS_DLL int __CLRCALL_PURE_OR_CDECL experimental::filesystem::v1::_Equivalent (const wchar_t *, const wchar_t *)
 
_FS_DLL int __CLRCALL_PURE_OR_CDECL experimental::filesystem::v1::_Link (const wchar_t *, const wchar_t *)
 
_FS_DLL int __CLRCALL_PURE_OR_CDECL experimental::filesystem::v1::_Symlink (const wchar_t *, const wchar_t *)
 
_FS_DLL int __CLRCALL_PURE_OR_CDECL experimental::filesystem::v1::_Rename (const wchar_t *, const wchar_t *)
 
_FS_DLL int __CLRCALL_PURE_OR_CDECL experimental::filesystem::v1::_Resize (const wchar_t *, uintmax_t)
 
_FS_DLL int __CLRCALL_PURE_OR_CDECL experimental::filesystem::v1::_Unlink (const wchar_t *)
 
_FS_DLL int __CLRCALL_PURE_OR_CDECL experimental::filesystem::v1::_Copy_file (const wchar_t *, const wchar_t *)
 
_FS_DLL int __CLRCALL_PURE_OR_CDECL experimental::filesystem::v1::_Chmod (const wchar_t *, _Perms)
 
_FS_DLL int __CLRCALL_PURE_OR_CDECL experimental::filesystem::v1::_To_byte (const wchar_t *, char *)
 
_FS_DLL int __CLRCALL_PURE_OR_CDECL experimental::filesystem::v1::_To_wide (const char *, wchar_t *)
 
path experimental::filesystem::v1::operator/ (const path &, const path &)
 
path experimental::filesystem::v1::_Absolute (const path &, const path &, error_code &)
 
void experimental::filesystem::v1::_Canonicalize_string_only (path &, const path &)
 
path experimental::filesystem::v1::canonical (const path &, error_code &)
 
path experimental::filesystem::v1::canonical (const path &, const path &, error_code &)
 
void experimental::filesystem::v1::copy (const path &, const path &)
 
void experimental::filesystem::v1::copy (const path &, const path &, error_code &) _NOEXCEPT
 
void experimental::filesystem::v1::copy (const path &, const path &, _Copy_options)
 
void experimental::filesystem::v1::copy (const path &, const path &, _Copy_options, error_code &) _NOEXCEPT
 
bool experimental::filesystem::v1::copy_file (const path &, const path &, _Copy_options=copy_options::none)
 
bool experimental::filesystem::v1::copy_file (const path &, const path &, error_code &) _NOEXCEPT
 
bool experimental::filesystem::v1::copy_file (const path &, const path &, _Copy_options, error_code &) _NOEXCEPT
 
void experimental::filesystem::v1::copy_symlink (const path &, const path &)
 
void experimental::filesystem::v1::copy_symlink (const path &, const path &, error_code &) _NOEXCEPT
 
bool experimental::filesystem::v1::create_directories (const path &)
 
bool experimental::filesystem::v1::create_directories (const path &, error_code &) _NOEXCEPT
 
bool experimental::filesystem::v1::create_directory (const path &)
 
bool experimental::filesystem::v1::create_directory (const path &, error_code &) _NOEXCEPT
 
bool experimental::filesystem::v1::create_directory (const path &, const path &)
 
bool experimental::filesystem::v1::create_directory (const path &, const path &, error_code &) _NOEXCEPT
 
void experimental::filesystem::v1::create_directory_symlink (const path &, const path &)
 
void experimental::filesystem::v1::create_directory_symlink (const path &, const path &, error_code &) _NOEXCEPT
 
void experimental::filesystem::v1::create_hard_link (const path &, const path &)
 
void experimental::filesystem::v1::create_hard_link (const path &, const path &, error_code &) _NOEXCEPT
 
void experimental::filesystem::v1::create_symlink (const path &, const path &)
 
void experimental::filesystem::v1::create_symlink (const path &, const path &, error_code &) _NOEXCEPT
 
path experimental::filesystem::v1::current_path ()
 
path experimental::filesystem::v1::current_path (error_code &)
 
void experimental::filesystem::v1::current_path (const path &)
 
void experimental::filesystem::v1::current_path (const path &, error_code &) _NOEXCEPT
 
bool experimental::filesystem::v1::equivalent (const path &, const path &)
 
bool experimental::filesystem::v1::equivalent (const path &, const path &, error_code &) _NOEXCEPT
 
bool experimental::filesystem::v1::exists (file_status) _NOEXCEPT
 
bool experimental::filesystem::v1::exists (const path &)
 
bool experimental::filesystem::v1::exists (const path &, error_code &) _NOEXCEPT
 
uintmax_t experimental::filesystem::v1::file_size (const path &)
 
uintmax_t experimental::filesystem::v1::file_size (const path &, error_code &) _NOEXCEPT
 
uintmax_t experimental::filesystem::v1::hard_link_count (const path &)
 
uintmax_t experimental::filesystem::v1::hard_link_count (const path &, error_code &) _NOEXCEPT
 
bool experimental::filesystem::v1::is_block_file (file_status) _NOEXCEPT
 
bool experimental::filesystem::v1::is_block_file (const path &)
 
bool experimental::filesystem::v1::is_block_file (const path &, error_code &) _NOEXCEPT
 
bool experimental::filesystem::v1::is_character_file (file_status) _NOEXCEPT
 
bool experimental::filesystem::v1::is_character_file (const path &)
 
bool experimental::filesystem::v1::is_character_file (const path &, error_code &) _NOEXCEPT
 
bool experimental::filesystem::v1::is_directory (file_status) _NOEXCEPT
 
bool experimental::filesystem::v1::is_directory (const path &)
 
bool experimental::filesystem::v1::is_directory (const path &, error_code &) _NOEXCEPT
 
bool experimental::filesystem::v1::is_empty (const path &)
 
bool experimental::filesystem::v1::is_empty (const path &, error_code &) _NOEXCEPT
 
bool experimental::filesystem::v1::is_fifo (file_status) _NOEXCEPT
 
bool experimental::filesystem::v1::is_fifo (const path &)
 
bool experimental::filesystem::v1::is_fifo (const path &, error_code &) _NOEXCEPT
 
bool experimental::filesystem::v1::is_other (file_status) _NOEXCEPT
 
bool experimental::filesystem::v1::is_other (const path &)
 
bool experimental::filesystem::v1::is_other (const path &, error_code &) _NOEXCEPT
 
bool experimental::filesystem::v1::is_regular_file (file_status) _NOEXCEPT
 
bool experimental::filesystem::v1::is_regular_file (const path &)
 
bool experimental::filesystem::v1::is_regular_file (const path &, error_code &) _NOEXCEPT
 
bool experimental::filesystem::v1::is_socket (file_status) _NOEXCEPT
 
bool experimental::filesystem::v1::is_socket (const path &)
 
bool experimental::filesystem::v1::is_socket (const path &, error_code &) _NOEXCEPT
 
bool experimental::filesystem::v1::is_symlink (file_status) _NOEXCEPT
 
bool experimental::filesystem::v1::is_symlink (const path &)
 
bool experimental::filesystem::v1::is_symlink (const path &, error_code &) _NOEXCEPT
 
file_time_type experimental::filesystem::v1::last_write_time (const path &, error_code &) _NOEXCEPT
 
file_time_type experimental::filesystem::v1::last_write_time (const path &)
 
void experimental::filesystem::v1::last_write_time (const path &, file_time_type, error_code &) _NOEXCEPT
 
void experimental::filesystem::v1::last_write_time (const path &, file_time_type)
 
void experimental::filesystem::v1::permissions (const path &, _Perms)
 
void experimental::filesystem::v1::permissions (const path &, _Perms, error_code &) _NOEXCEPT
 
path experimental::filesystem::v1::read_symlink (const path &)
 
path experimental::filesystem::v1::read_symlink (const path &, error_code &)
 
bool experimental::filesystem::v1::remove (const path &)
 
bool experimental::filesystem::v1::remove (const path &, error_code &) _NOEXCEPT
 
uintmax_t experimental::filesystem::v1::remove_all (const path &)
 
uintmax_t experimental::filesystem::v1::remove_all (const path &, error_code &) _NOEXCEPT
 
void experimental::filesystem::v1::rename (const path &, const path &)
 
void experimental::filesystem::v1::rename (const path &, const path &, error_code &) _NOEXCEPT
 
void experimental::filesystem::v1::resize_file (const path &, uintmax_t)
 
void experimental::filesystem::v1::resize_file (const path &, uintmax_t, error_code &) _NOEXCEPT
 
space_info experimental::filesystem::v1::space (const path &)
 
space_info experimental::filesystem::v1::space (const path &, error_code &) _NOEXCEPT
 
file_status experimental::filesystem::v1::status (const path &)
 
file_status experimental::filesystem::v1::status (const path &, error_code &) _NOEXCEPT
 
bool experimental::filesystem::v1::status_known (file_status) _NOEXCEPT
 
file_status experimental::filesystem::v1::symlink_status (const path &)
 
file_status experimental::filesystem::v1::symlink_status (const path &, error_code &) _NOEXCEPT
 
path experimental::filesystem::v1::system_complete (const path &)
 
path experimental::filesystem::v1::system_complete (const path &, error_code &)
 
path experimental::filesystem::v1::temp_directory_path ()
 
path experimental::filesystem::v1::temp_directory_path (error_code &)
 
void experimental::filesystem::v1::swap (path &_Left, path &_Right) _NOEXCEPT
 
size_t experimental::filesystem::v1::hash_value (const path &_Path) _NOEXCEPT
 
bool experimental::filesystem::v1::operator== (const path &_Left, const path &_Right) _NOEXCEPT
 
bool experimental::filesystem::v1::operator!= (const path &_Left, const path &_Right) _NOEXCEPT
 
bool experimental::filesystem::v1::operator< (const path &_Left, const path &_Right) _NOEXCEPT
 
bool experimental::filesystem::v1::operator<= (const path &_Left, const path &_Right) _NOEXCEPT
 
bool experimental::filesystem::v1::operator> (const path &_Left, const path &_Right) _NOEXCEPT
 
bool experimental::filesystem::v1::operator>= (const path &_Left, const path &_Right) _NOEXCEPT
 
template<class _Elem , class _Traits >
basic_ostream< _Elem, _Traits > & experimental::filesystem::v1::operator<< (basic_ostream< _Elem, _Traits > &_Ostr, const path &_Path)
 
template<class _Elem , class _Traits >
basic_istream< _Elem, _Traits > & experimental::filesystem::v1::operator>> (basic_istream< _Elem, _Traits > &_Istr, path &_Path)
 
template<class _InIt , class = typename enable_if<_Is_iterator<_InIt>::value, void>::type>
path experimental::filesystem::v1::u8path (_InIt _First, _InIt _Last)
 
template<class _InIt , class = typename enable_if<_Is_iterator<_InIt>::value, void>::type>
path experimental::filesystem::v1::u8path (_InIt _First)
 
template<class _Traits , class _Alloc >
path experimental::filesystem::v1::u8path (const basic_string< char, _Traits, _Alloc > &_Str)
 
template<class _Prefix_directory >
bool experimental::filesystem::v1::operator== (const _Directory_iterator< _Prefix_directory > &_Left, const _Directory_iterator< _Prefix_directory > &_Right)
 
template<class _Prefix_directory >
bool experimental::filesystem::v1::operator!= (const _Directory_iterator< _Prefix_directory > &_Left, const _Directory_iterator< _Prefix_directory > &_Right)
 
const directory_iterator & experimental::filesystem::v1::begin (const directory_iterator &_Iter) _NOEXCEPT
 
directory_iterator experimental::filesystem::v1::end (const directory_iterator &) _NOEXCEPT
 
bool experimental::filesystem::v1::operator== (const recursive_directory_iterator &_Left, const recursive_directory_iterator &_Right)
 
bool experimental::filesystem::v1::operator!= (const recursive_directory_iterator &_Left, const recursive_directory_iterator &_Right)
 
const recursive_directory_iterator & experimental::filesystem::v1::begin (const recursive_directory_iterator &_Iter) _NOEXCEPT
 
recursive_directory_iterator experimental::filesystem::v1::end (const recursive_directory_iterator &) _NOEXCEPT
 
path experimental::filesystem::v1::absolute (const path &_Path, const path &_Base=current_path())
 
path experimental::filesystem::v1::canonical (const path &_Path, const path &_Base=current_path())
 
bool experimental::filesystem::v1::_Copy_options_indicate_recursive_copy (_Copy_options _Opts)
 
bool experimental::filesystem::v1::_Remove_all (const path &_Path, uintmax_t &_Ans, error_code &_Code) _NOEXCEPT
 

Macro Definition Documentation

#define _FILESYSTEM_
#define _FS_BSLASH   L'\\'
#define _FS_COLON   L':'
#define _FS_DLL   extern "C" _CRTIMP2_PURE
#define _FS_ISSEP (   x)    ((x) == L'/' || (x) == L'\\')
#define _FS_PERIOD   L'.'
#define _FS_PREF   L'\\'
#define _FS_SLASH   L'/'
#define _FSPFX   _STD experimental::filesystem::v1::
#define _MAX_FILESYS_NAME   260 /* longest Windows or Posix filename + 1 */