xtd - Reference Guide  0.1.0
Modern c++17 framework to create console, gui and unit test applications on Windows, macOS and Linux.
xtd::io Namespace Reference

The xtd::io namespace contains types that allow reading and writing to files and data streams, and types that provide basic file and directory support. More...

Classes

class  directory_not_found_exception
 The exception that is thrown when part of a file or directory cannot be found. More...
 
class  drive_not_found_exception
 The exception that is thrown when trying to access a drive or share that is not available. More...
 
class  end_of_stream_exception
 The exception that is thrown when reading is attempted past the end of a stream. More...
 
class  file
 Provides static methods for the creation, copying, deletion, moving, and opening of files, and aids in the creation of std::basic_ftream objects. More...
 
class  file_format_exception
 The exception that is thrown when the format of an argument does not meet the parameter specifications of the invoked method. More...
 
class  file_load_exception
 The exception that is thrown when a managed assembly is found but cannot be loaded. More...
 
class  file_not_found_exception
 The exception that is thrown when an attempt to access a file that does not exist on disk fails. More...
 
class  ioexception
 The exception that is thrown when an I/O error occurs. More...
 
class  path
 Performs operations on std::basic_string instances that contain file or directory path information. These operations are performed in a cross-platform manner. More...
 
class  path_too_long_exception
 The exception that is thrown when a path or file name is longer than the system-defined maximum length. More...
 

Enumerations

enum  file_attributes {
  file_attributes::read_only = 0x0001, file_attributes::hidden = 0x0002, file_attributes::system = 0x0004, file_attributes::directory = 0x0010,
  file_attributes::archive = 0x0020, file_attributes::device = 0x0040, file_attributes::normal = 0x0080, file_attributes::temporary = 0x0100,
  file_attributes::sparseFile = 0x0200, file_attributes::reparse_point = 0x0400, file_attributes::compressed = 0x0800, file_attributes::offline = 0x1000,
  file_attributes::not_content_indexed = 0x2000, file_attributes::encrypted = 0x4000
}
 Provides attributes for files and directories. More...
 

Detailed Description

The xtd::io namespace contains types that allow reading and writing to files and data streams, and types that provide basic file and directory support.