PLCnext API Documentation
21.0.0.35466
|
Namespace for classes related to the filesystem and file I/O More...
Classes | |
class | AccessDeniedException |
This exception is used when a requested file does not exist. More... | |
class | AlreadyExistsException |
This exception is used when a file should be created that already exists. More... | |
class | Directory |
API for manipulation and examiniation of directories of a file system. More... | |
class | EndOfStreamException |
This is the base class of all IO exceptions. More... | |
class | File |
API to manage and manipulate single files. More... | |
class | FileStream |
Exposes a Stream around a file, supporting read and write operations. More... | |
class | FileSystemInfo |
class | InvalidPathException |
This exception is used when a requested file does not exist. More... | |
class | IoException |
This is the base class of all IO exceptions. More... | |
class | MemoryStream |
class | NotExistException |
This exception is used when a requested directory does not exist. More... | |
class | NullStream |
class | OutOfSpaceException |
This exception is used when a requested file does not exist. More... | |
class | Path |
class | Stream |
Provides a generic view of a sequence of bytes. More... | |
Enumerations | |
enum | FileMode { FileMode::None = 0, FileMode::CreateNew = 1, FileMode::Create = 2, FileMode::Open = 3, FileMode::OpenOrCreate = 4, FileMode::Truncate = 5, FileMode::Append = 6 } |
Contains constants for specifying how the OS should open a file. More... | |
enum | FileAccess { FileAccess::None = 0, FileAccess::Read = 1, FileAccess::Write = 2, FileAccess::ReadWrite = 3 } |
Contains constants for specifying the access you want for a file. You can have Read, Write or ReadWrite access. More... | |
enum | SeekOrigin { SeekOrigin::None = 0, SeekOrigin::Begin = 1, SeekOrigin::Current = 2, SeekOrigin::End = 3 } |
Provides seek reference points. To seek to the end of a stream, call stream.Seek(0, SeekOrigin.End). More... | |
Functions | |
void | MapBoostErrorCodeToException (const String &path, const boost::system::error_code &boostErrorCode) |
void | MapBoostErrorCodeToException (const String &sourcePath, const String &destinationPath, const boost::system::error_code &boostErrorCode) |
std::ostream & | operator<< (std::ostream &os, FileMode arg) |
std::istream & | operator>> (std::istream &is, FileMode &arg) |
std::ostream & | operator<< (std::ostream &os, FileAccess arg) |
std::istream & | operator>> (std::istream &is, FileAccess &arg) |
std::ostream & | operator<< (std::ostream &os, SeekOrigin arg) |
std::istream & | operator>> (std::istream &is, SeekOrigin &arg) |
constexpr FileSystemInfo::Traits | operator & (FileSystemInfo::Traits lhs, FileSystemInfo::Traits rhs) |
constexpr FileSystemInfo::Traits | operator| (FileSystemInfo::Traits lhs, FileSystemInfo::Traits rhs) |
constexpr FileSystemInfo::Permissions | operator & (FileSystemInfo::Permissions lhs, FileSystemInfo::Permissions rhs) |
constexpr FileSystemInfo::Permissions | operator| (FileSystemInfo::Permissions lhs, FileSystemInfo::Permissions rhs) |
Namespace for classes related to the filesystem and file I/O
|
strong |
Contains constants for specifying the access you want for a file. You can have Read, Write or ReadWrite access.
|
strong |
Contains constants for specifying how the OS should open a file.
The separate values in this enumeration will control whether you overwrite a file, open an existing file, or some combination thereof. To append to a file, use Append (which maps to OpenOrCreate then we seek to the end of the file). To truncate a file or create it if it doesn't exist, use Create.
|
strong |
Provides seek reference points. To seek to the end of a stream, call stream.Seek(0, SeekOrigin.End).
These constants match Win32's FILE_BEGIN, FILE_CURRENT, and FILE_END
Enumerator | |
---|---|
None | Not specified |
Begin | Specifies the beginning of a stream. |
Current | Specifies the current position of a stream. |
End | Specifies the end of a stream. |