Public Member Functions
ecl::Converter< char *, void > Class Template Reference

Family of converters to character strings. More...

#include <char_strings.hpp>

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

List of all members.

Public Member Functions

 Converter (char *begin, char *end)
 Converter (int buffer_size=250) ecl_debug_throw_decl(StandardException)
virtual ~Converter ()

Detailed Description

template<>
class ecl::Converter< char *, void >

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.

See also:
Converter

Definition at line 854 of file char_strings.hpp.


Constructor & Destructor Documentation

ecl::Converter< char *, void >::Converter ( char *  begin,
char *  end 
) [inline]

Constructor that initialises with an external buffer.

Parameters:
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 875 of file char_strings.hpp.

ecl::Converter< char *, void >::Converter ( int  buffer_size = 250) [inline]

Constructor that initialises with an internal buffer.

Parameters:
buffer_size: size of the buffer to create - if not supplied it initialises a buffer of size 250.
Exceptions:
StandardException: throws if it failed to allocate memory for the internal buffer [debug mode only].

Reimplemented from ecl::Converter< char *, char >.

Definition at line 883 of file char_strings.hpp.

virtual ecl::Converter< char *, void >::~Converter ( ) [inline, virtual]

Reimplemented from ecl::Converter< char *, char >.

Definition at line 886 of file char_strings.hpp.


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


ecl_converters
Author(s): Daniel Stonier
autogenerated on Mon Jul 3 2017 02:21:28