$search

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 (int buffer_size=250) ecl_debug_throw_decl(StandardException)
 Converter (char *begin, char *end)
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 851 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 872 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 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.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends


ecl_converters
Author(s): Daniel Stonier (d.stonier@gmail.com)
autogenerated on Fri Mar 1 15:20:47 2013