|
#include <pantheios/inserters/fmt.hpp>
These constants control the formatting of some of the inserter classes, for example:
pantheios::log_NOTICE("Integer: ", pantheios::integer(10, pantheios::fmt::fullHex); pantheios::log_NOTICE("Pointer: ", pantheios::pointer(NULL, 8 | pantheios::fmt::hex | pantheios::fmt::zeroPadded);
Public Types | |
enum | { zeroXPrefix = 0x0100, zeroPad = 0x0200, zeroPadded = zeroPad, hex = 0x0400, fullHex = zeroXPrefix | zeroPad | hex } |
anonymous enum |
zeroXPrefix |
Applies a 0x prefix to the output.
|
zeroPad | Zero-pads the output. |
zeroPadded |
|
hex | Represents the output in hexadecimal. |
fullHex | A combination of the zeroXPrefix, zeroPad and hex flags |
|
|
pantheios Library documentation © Matthew Wilson & Synesis Software, 2006-2011 |