xtd - Reference Guide  0.1.2
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
Loading...
Searching...
No Matches
Classes | Enumerations
xtd::io Namespace Reference

Definition

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.

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::fstream 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  io_exception
 The exception that is thrown when an I/O error occurs. More...
 
class  null_text_reader
 Represents a null text reader. More...
 
class  null_text_writer
 Represents a null text writer. 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...
 
class  stream_reader
 Implements a xtd::io::text_reader that reads characters from a byte stream. More...
 
class  stream_writer
 Implements a xtd::io::text_writer for writing characters to a stream. More...
 
class  string_reader
 Implements a xtd::io::text_reader that reads from a string. More...
 
class  string_writer
 Implements a xtd::io::text_writer for writing characters to a string. More...
 
class  synchronized_text_reader
 Represents a synchronized text reader. More...
 
class  synchronized_text_writer
 Represents a synchronized text writer. More...
 
class  text_reader
 Represents a reader that can read a sequential series of characters. More...
 
class  text_writer
 Represents a writer that can write a sequential series of characters. More...
 

Enumerations

enum class  file_access {
  file_access::read ,
  file_access::write ,
  file_access::read_write
}
 Defines constants for read, write, or read/write access to a file. This enumeration has a flags attribute that allows a bitwise combination of its member values. More...
 
enum class  file_attributes {
  file_attributes::read_only ,
  file_attributes::hidden ,
  file_attributes::system ,
  file_attributes::directory ,
  file_attributes::archive ,
  file_attributes::device ,
  file_attributes::normal ,
  file_attributes::temporary ,
  file_attributes::sparse_file ,
  file_attributes::reparse_point ,
  file_attributes::compressed ,
  file_attributes::offline ,
  file_attributes::not_content_indexed ,
  file_attributes::encrypted
}
 Provides attributes for files and directories. More...