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

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

#include <char.hpp>

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

Public Member Functions

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

Detailed Description

Converts ints into readable (ascii) characters.

See also
Converter

Definition at line 77 of file char.hpp.

Constructor & Destructor Documentation

◆ ~Converter()

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

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

Definition at line 79 of file char.hpp.

Member Function Documentation

◆ operator()()

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

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']

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 93 of file char.hpp.


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


ecl_converters
Author(s): Daniel Stonier
autogenerated on Wed Mar 2 2022 00:16:25