pantheios::fmt Struct Reference
[Inserters]

#include <pantheios/inserters/fmt.hpp>

List of all members.


Detailed Description

Format constants used by Pantheios inserter classes.

These constants control the formatting of some of the inserter classes, for example:

 pantheios::log_NOTICE("Integer: ", pantheios::integer(int(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
}


Member Enumeration Documentation

anonymous enum
 

Enumerator:
zeroXPrefix  Applies a 0x prefix to the output.
zeroPad  Zero-pads the output.
zeroPadded 
Deprecated:
Use zeroPad.
hex  Represents the output in hexadecimal.
fullHex  A combination of the zeroXPrefix, zeroPad and hex flags.


The documentation for this struct was generated from the following file:

pantheios Library documentation © Matthew Wilson, 2006 SourceForge.net Logo