Helper class that is a base for binaryostream and binaryistream in the same way as ios_base is a base of ostream and istream.
More...
#include <stream/BinaryStream.h>
Helper class that is a base for binaryostream and binaryistream in the same way as ios_base is a base of ostream and istream.
It defines additional format flags for the binary mode and provides the setf() and unsetf() method for setting and clearing these flags.
- Note
- This class must use the same naming conventions as the original std::ios_base of the STL (e.g. setf, unsetf) !!
◆ fmtflags
◆ BinaryIosBase()
◆ setf()
Setting new format flags.
- Parameters
-
flags | Additional flags to set. |
- Returns
- The previous format control flags.
This function sets additional flags in format control. Flags that were previously set remain set.
- Note
- This method has the same behavior as ios_base::setf() but works for our additional binary format flags only!
◆ unsetf()
Clearing format flags.
- Parameters
-
This function clears mask in the format flags.
◆ mFmtFlags
The documentation for this class was generated from the following file: