...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Often when implementing network algorithms such as servers, it is necessary to interact with files on the system. Beast defines the File concept and several models to facilitate cross-platform interaction with the underlying filesystem:
Table 1.7. File Types
Name |
Description |
---|---|
|
|
This implementation of File uses the C++ standard library
facilities obtained by including |
|
This implements a File for the Win32 API. It provides low level access to the native file handle when necessary. |
|
For POSIX systems, this class provides a suitable implementation of File which wraps the native file descriptor and provides it if necessary. |