System::IO

Classes

ClassDescription
BasicSTDIOStreamWrapperRepresents a System.IO.Stream-like wrapper for std::basic_iostream and its derived objects. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.
BasicSTDIStreamWrapperRepresents a System.IO.Stream-like wrapper for std::basic_istream and its derived objects. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.
BasicSTDOStreamWrapperRepresents a System.IO.Stream-like wrapper for std::basic_ostream and its derived objects. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.
BasicSystemIOStreamBufRepresents a buffer that wraps System::IO::Stream-like streams and allows them to be used as an std::iostream-like streams internal buffer.
BasicSystemIOStreamWrapperRepresents a std::iostream-like wrapper that used BasicSystemIOStreamBuf as internal buffer.
BasicSystemIStreamWrapperRepresents a std::istream-like wrapper that used BasicSystemIOStreamBuf as internal buffer.
BasicSystemOStreamWrapperRepresents a std::ostream-like wrapper that used BasicSystemIOStreamBuf as internal buffer.
BinaryReaderRepresents a reader that reads primitive data types as binary data in particular encoding. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.
BinaryWriterRepresents a writer that writes values of primitive types to a byte stream. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.
BufferedStreamAdds a buffering layer on top of another stream. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.
Details_DirectoryNotFoundException
Details_EndOfStreamException
Details_FileLoadException
Details_FileNotFoundExceptionThe exception that is thrown when an attempt to access a file that does not exist on disk fails. Never create instances of this class manually. Use the FileNotFoundException class instead. Never wrap the FileNotFoundException class instances into System::SmartPtr.
Details_InvalidDataException
Details_IOException
Details_PathTooLongException
DirectoryContains methods for manipulating directories. This is a static type with no instance services. You should never create instances of it by any means.
DirectoryInfoRepresents a file system path, a directory referred to by this path and provides instance methods for manipulating directories. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.
FileProvides methods for manipulating files. This is a static type with no instance services. You should never create instances of it by any means.
FileInfoRepresents a path to a file and a file referred to by this path and provides methods for manipulating it. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.
FileStreamRepresents a file stream supporting synchronous and asynchronous read and write operations. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.
FileSystemInfoThe base class for FileInfo and DirectoryInfo. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.
FileSystemInfoStatRepresents information about a file or directory.
MemoryStreamRepresents a stream that reads from and writes to memory. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.
PathProvides methods for manipulating paths. This is a static type with no instance services. You should never create instances of it by any means.
STDIOStreamWrapperBaseRepresents a base class for System.IO.Stream-like wrappers. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.
StreamA base class for a variety of stream implementations. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.
StreamReaderRepresents a reader that reads characters from a byte stream. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.
StreamWriterRepresents a writer that writes characters to a byte stream. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.
StringReaderRepresents a reader that reads characters from a string. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.
StringWriterImplements a TextWriter that writes information to a string. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.
TextReaderA base class for classes that represent readers that read sequences of characters from different sources. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.
TextWriterA base class for classes that represent writers that writes sequences of characters to different destinations. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.
UnmanagedMemoryStreamProvides access to unmanaged memory. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.

Functions

FunctionDescription
SharedPtr<Stream> WrapSTDIOStream(std::basic_istream<char_type, traits_type>&, STDIOStreamWrappingMode)Wrapper function for std::basic_istream-like streams.
SharedPtr<Stream> WrapSTDIOStream(std::basic_ostream<char_type, traits_type>&, STDIOStreamWrappingMode)Wrapper function for std::basic_ostream-like streams.
SharedPtr<Stream> WrapSTDIOStream(std::basic_iostream<char_type, traits_type>&, STDIOStreamWrappingMode, STDIOStreamPositionPreference)Wrapper function for std::basic_iostream-like streams.

Enums

EnumDescription
FileAccessSpecifies the type of access when opening the file.
FileAttributesRepresents attributes of a directory or a file.
FileModeSpecifies how a file should be opened.
FileOptionsRepresents advanced options for creating FileStream object.
FileShareSpecifies what kind of access other FileStream objects can have to a file being opened.
SearchOptionSpecifies a search should be performed only in the current directory, or in the current directory and all its subdirectories.
SeekOriginSpecifies the reference position in the stream relative to which the position to seek to is specified.
STDIOStreamWrappingModeSpecifies the mode of I/O operations that wrappers will perform on std::iostreams-like streams.
STDIOStreamPositionPreferenceDetermines which position in the stream is preferable as a common read and write position when std::basic_iostream and its descendants will have different read and write positions at the time of wrapper creation.
SystemIOStreamWrappingModeSpecifies the mode of I/O operations that wrappers will perform on System::IO::Stream-like streams.

Typedefs

TypedefDescription
IOException
EndOfStreamException
InvalidDataException
DirectoryNotFoundException
FileLoadException
PathTooLongException
BinaryWriterPtrAn alias for a shared pointer to this class.
FileNotFoundExceptionThe exception that is thrown when an attempt to access a file that does not exist on disk fails. Never wrap the FileNotFoundException class instances into System::SmartPtr.
STDIStreamWrapperSpecializations of BasicSTDIStreamWrapper for char character types.
STDWIStreamWrapperSpecializations of BasicSTDIStreamWrapper for wchar_t character types.
STDOStreamWrapperSpecializations of BasicSTDOStreamWrapper for char character types.
STDWOStreamWrapperSpecializations of BasicSTDOStreamWrapper for wchar_t character types.
STDIOStreamWrapperSpecializations of BasicSTDIOStreamWrapper for char character types.
STDWIOStreamWrapperSpecializations of BasicSTDIOStreamWrapper for wchar_t character types.
SystemIStreamWrapperSpecializations of BasicSystemIStreamWrapper for char character types.
SystemWIStreamWrapperSpecializations of BasicSystemIStreamWrapper for wchar_t character types.
SystemOStreamWrapperSpecializations of BasicSystemOStreamWrapper for char character types.
SystemWOStreamWrapperSpecializations of BasicSystemOStreamWrapper for wchar_t character types.
SystemIOStreamWrapperSpecializations of BasicSystemIOStreamWrapper for char character types.
SystemWIOStreamWrapperSpecializations of BasicSystemIOStreamWrapper for wchar_t character types.