Synesis Software STLSoft - ... Robust, Lightweight, Cross-platform, Template Software ...

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(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.
Note:
This is ignored unless hex is also specified.
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 & Synesis Software, 2006-2011 SourceForge.net Logo