Public Member Functions
ecl::Converter< char, unsigned int > Class Template Reference

Converts unsigned ints into readable (ascii) characters. More...

#include <char.hpp>

Inheritance diagram for ecl::Converter< char, unsigned int >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

char operator() (const unsigned int &input) ecl_debug_throw_decl(StandardException)
virtual ~Converter ()

Detailed Description

template<>
class ecl::Converter< char, unsigned int >

Converts unsigned ints into readable (ascii) characters.

See also:
Converter

Definition at line 41 of file char.hpp.


Constructor & Destructor Documentation

virtual ecl::Converter< char, unsigned int >::~Converter ( ) [inline, virtual]

Reimplemented in ecl::Converter< char, void >.

Definition at line 43 of file char.hpp.


Member Function Documentation

char ecl::Converter< char, unsigned int >::operator() ( const unsigned int &  input) [inline]

Converts a single unsigned int into a char type. A similar function is used in stlsoft.

This throws an exception and/or configures the error() function for this converter if the input digit is not a char digit ['0'-'9']

Parameters:
input: the input digit to be converted.
Returns:
char : the character representation of the digit.
Exceptions:
:throws if input is not a char digit ['0'-'9'] (debug mode only).

Definition at line 57 of file char.hpp.


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


ecl_converters
Author(s): Daniel Stonier (d.stonier@gmail.com)
autogenerated on Thu Jan 2 2014 11:12:05