#include <OStream.hpp>
◆ FormatHex()
template<std::unsigned_integral UInt>
◆ center()
template<std::unsigned_integral UInt>
Formats the string to the left area set by mwidth().
Example:
void endl(OStream &stream)
Writes a new line character to the stream followed by a call to OStream::flush()
Definition OStream.hpp:198
- Returns
- self
◆ fill()
template<std::unsigned_integral UInt>
Sets the fill characters used by padding that is applied when mwidth() is used.
- Parameters
-
- Returns
- self
◆ head()
template<std::unsigned_integral UInt>
enable the hex header '0x' in the beginning.
◆ lead()
template<std::unsigned_integral UInt>
enable leading zeros of the hex number
◆ left()
template<std::unsigned_integral UInt>
Formats the string to the left area set by mwidth().
Example:
- Returns
- self
◆ lower()
template<std::unsigned_integral UInt>
use lower case letters for the hex number
◆ mwidth()
template<std::unsigned_integral UInt>
Sets the minimum number of character that will be put into the stream.
Padded characters are defined by FormatStr::fill(char c). The default fill character is a space ' '.
Example:
- Parameters
-
| mw | An integer that sets the new minimal width |
- Returns
- self
◆ nohead()
template<std::unsigned_integral UInt>
disable the hex header '0x' in the beginning.
◆ nolead()
template<std::unsigned_integral UInt>
disables leading zeros of the hex number
◆ right()
template<std::unsigned_integral UInt>
Formats the string to the left area set by mwidth().
Example:
- Returns
- self
◆ upper()
template<std::unsigned_integral UInt>
use uppercase letters for hex numbers
◆ _value
template<std::unsigned_integral UInt>
The documentation for this struct was generated from the following file: