xtd 0.2.0
Loading...
Searching...
No Matches

Definition

Contains io definitions.

Classes

class  xtd::io::binary_reader
 Reads primitive data types as binary values in a specific encoding. More...
 
class  xtd::io::binary_writer
 Writes primitive types in binary to a stream and supports writing strings. More...
 
class  xtd::io::directory
 Exposes static methods for creating, moving, and enumerating through directories and subdirectories. This class cannot be inherited. More...
 
class  xtd::io::directory_info
 Exposes instance methods for creating, moving, and enumerating through directories and subdirectories. This class cannot be inherited. More...
 
class  xtd::io::drive_info
 Provides access to information on a drive. More...
 
class  xtd::io::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  xtd::io::file_info
 Provides static methods for the creation, copying, deletion, moving, and opening of files, and aids in the creation of std::fstream objects. More...
 
class  xtd::io::file_system_info
 Provides the base class for both xtd::io::file_info and xtd::io::directory_info objects. More...
 
class  xtd::io::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  xtd::io::stream_reader
 Implements a xtd::io::text_reader that reads characters from a byte stream. More...
 
class  xtd::io::stream_writer
 Implements a xtd::io::text_writer for writing characters to a stream. More...
 
class  xtd::io::string_reader
 Implements a xtd::io::text_reader that reads from a string. More...
 
class  xtd::io::string_writer
 Implements a xtd::io::text_writer for writing characters to a string. More...
 
class  xtd::io::text_reader
 Represents a reader that can read a sequential series of characters. More...
 
class  xtd::io::null_text_reader
 Represents a null text reader. More...
 
class  xtd::io::synchronized_text_reader
 Represents a synchronized text reader. More...
 
class  xtd::io::text_writer
 Represents a writer that can write a sequential series of characters. More...
 
class  xtd::io::null_text_writer
 Represents a null text writer. More...
 
class  xtd::io::synchronized_text_writer
 Represents a synchronized text writer. More...
 

Enumerations

enum class  xtd::io::drive_type {
  xtd::io::drive_type::unknown ,
  xtd::io::drive_type::no_root_directory ,
  xtd::io::drive_type::removable ,
  xtd::io::drive_type::fixed ,
  xtd::io::drive_type::network ,
  xtd::io::drive_type::cd_rom ,
  xtd::io::drive_type::ram
}
 Defines constants for drive types, including CDRom, Fixed, Network, NoRootDirectory, Ram, Removable, and Unknown. More...
 

Enumeration Type Documentation

◆ drive_type

enum class xtd::io::drive_type
strong

#include <xtd.core/include/xtd/io/drive_type.hpp>

Defines constants for drive types, including CDRom, Fixed, Network, NoRootDirectory, Ram, Removable, and Unknown.

enum class drive_type
drive_type
Defines constants for drive types, including CDRom, Fixed, Network, NoRootDirectory,...
Definition drive_type.hpp:26
Inheritance
xtd::io::io_exceptionxtd::io::drive_not_found_exception
Header
#include <xtd/io/drive_type>
Namespace
xtd::io
Library
xtd.core
Enumerator
unknown 

The type of drive is unknown.

no_root_directory 

The drive does not have a root directory.

removable 

The drive is a removable storage device, such as a floppy disk drive or a USB flash drive.

fixed 

The drive is a fixed disk.

network 

The drive is a network drive.

cd_rom 

The drive is an optical disc device, such as a CD or DVD-ROM.

ram 

The drive is a RAM disk.