cxxtools::HexFormat< CharType > Struct Template Reference

#include <cxxtools/convert.h>

Inheritance diagram for cxxtools::HexFormat< CharType >:
cxxtools::NumberFormat< CharType >

Public Types

typedef CharType CharT
- Public Types inherited from cxxtools::NumberFormat< CharType >
typedef CharType CharT

Static Public Member Functions

static CharT toChar (unsigned char n)
static unsigned char toDigit (CharT ch)
 Converts a character to a digit.
- Static Public Member Functions inherited from cxxtools::NumberFormat< CharType >
static CharT plus ()
static CharT minus ()

Static Public Attributes

static const unsigned base = 16

Member Typedef Documentation

template<typename CharType >
typedef CharType cxxtools::HexFormat< CharType >::CharT

Member Function Documentation

template<typename CharType >
static CharT cxxtools::HexFormat< CharType >::toChar ( unsigned char  n)
inlinestatic
template<typename CharType >
static unsigned char cxxtools::HexFormat< CharType >::toDigit ( CharT  ch)
inlinestatic

Converts a character to a digit.

Returns a number equal or less than the base on success or a number greater than base on failure.

Member Data Documentation

template<typename CharType >
const unsigned cxxtools::HexFormat< CharType >::base = 16
static

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