Inheritance diagram for sword::OStorage:

Public Methods | |
| void | write (const void *buffer, word length) |
| void | flush () |
This class describes the interface that all data storage must implement. However, it is not an abstract class (no virtual method), because storages are composed using genericity and not inheritance in sword. All the implementing classes are identified by a name like OStorageXXX.
An output binary data storage is a way of storing bytes, sequencially, maybe with a buffer between the client and the final storage device. An eWrite exception will throw when no more data can be stored. The buffer can be flushed at any time. All implementations of OStorage must conform to this logical contract.
1.3-rc2