Public Member Functions | List of all members
ecl::Converter< char, int > Class Template Reference

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

#include <char.hpp>

Inheritance diagram for ecl::Converter< char, int >:
Inheritance graph

Public Member Functions

char operator() (const int &input)
virtual ~Converter ()

Detailed Description

class ecl::Converter< char, int >

Converts ints into readable (ascii) characters.

See also

Definition at line 71 of file char.hpp.

Constructor & Destructor Documentation

◆ ~Converter()

virtual ecl::Converter< char, int >::~Converter ( )

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

Definition at line 73 of file char.hpp.

Member Function Documentation

◆ operator()()

char ecl::Converter< char, int >::operator() ( const int &  input)

Converts a single 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']

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

Definition at line 87 of file char.hpp.

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

Author(s): Daniel Stonier
autogenerated on Mon Feb 28 2022 22:18:34