Chapter 4. Organizing a Virtual Filesystem
File: An object that can be written to, or read from, or both. A file has certain attributes, including type. Common types of files include regular files and directories. Other types of files, such as symbolic links, may be supported by the implementation.
Filesystem: A collection of files and certain of their attributes.
(Boost documentation, http://www.boost.org)
In this chapter we will cover:
- Abstracting file streams
- Implementing portable memory-mapped files
- Implementing file writers
- Working with in-memory files
- Implementing mount points
- Enumerating files in the .zip archives
- Decompressing files from the .zip archives
- Loading resources asynchronously
- Storing application data