cxxtools::OctalFormat< CharType > Struct Template Reference

#include <cxxtools/convert.h>

Inheritance diagram for cxxtools::OctalFormat< 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 = 8

Member Typedef Documentation

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

Member Function Documentation

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

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::OctalFormat< CharType >::base = 8

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