Family of converters to character strings. More...
#include <char_strings.hpp>
Public Member Functions | |
Converter (char *begin, char *end) | |
Converter (int buffer_size=250) ecl_debug_throw_decl(StandardException) | |
virtual | ~Converter () |
Family of converters to character strings.
This groups all the character string converters of fundamental types into a single cohesive superclass. This is often more convenient, especially as each converter will utilise a single buffer. This is important if doing many different character string conversions in the same scope.
Definition at line 851 of file char_strings.hpp.
ecl::Converter< char *, void >::Converter | ( | char * | begin, |
char * | end | ||
) | [inline] |
Constructor that initialises with an external buffer.
begin | : character pointer that points to the start of the external buffer. |
end | : character pointer that points to the end of the external buffer. |
Reimplemented from ecl::Converter< char *, char >.
Definition at line 872 of file char_strings.hpp.
ecl::Converter< char *, void >::Converter | ( | int | buffer_size = 250 | ) | [inline] |
Constructor that initialises with an internal buffer.
buffer_size | : size of the buffer to create - if not supplied it initialises a buffer of size 250. |
StandardException | : throws if it failed to allocate memory for the internal buffer [debug mode only]. |
Reimplemented from ecl::Converter< char *, char >.
Definition at line 880 of file char_strings.hpp.
virtual ecl::Converter< char *, void >::~Converter | ( | ) | [inline, virtual] |
Reimplemented from ecl::Converter< char *, char >.
Definition at line 883 of file char_strings.hpp.