v1.1.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Modules Pages
Public Member Functions | List of all members
Sifteo::Hex64 Struct Reference

String formatting wrapper for fixed-width hexadecimal 64-bit integers. More...

#include <sifteo/string.h>

Public Member Functions

 Hex64 (uint64_t value, unsigned width=16, bool leadingZeroes=true)
 Format 'value' using exactly 'width' characters. More...
 

Detailed Description

String formatting wrapper for fixed-width hexadecimal 64-bit integers.

This is a type which can be used with String's << operator, to format 64-bit integers in hexadecimal, with a fixed field width.

Constructor & Destructor Documentation

Sifteo::Hex64::Hex64 ( uint64_t  value,
unsigned  width = 16,
bool  leadingZeroes = true 
)
inline

Format 'value' using exactly 'width' characters.

If 'leadingZeroes', extra leading characters will be '0', otherwise they will be spaces.


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