Classes | Namespaces | Enumerations | Functions
floats.hpp File Reference

Interface for the float (float,double) formatter. More...

#include <cstdio>
#include <cstring>
#include "common.hpp"
#include <ecl/exceptions/standard_exception.hpp>
Include dependency graph for floats.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ecl::Format< double >
 Formatter for double types. More...
class  ecl::Format< float >
 Formatter for float types. More...
class  ecl::interfaces::FormatFloat< Number >
 Formatter for float types. More...

Namespaces

namespace  ecl
 

Embedded control libraries.


namespace  ecl::interfaces
 

Supporting elements and interfaces.


Enumerations

enum  FloatBase { ecl::Fixed, ecl::Sci }
 Base format tags for the float formatters. More...

Functions

template<typename OutputStream , typename N >
OutputStream & ecl::interfaces::operator<< (OutputStream &ostream, FormatFloat< N > &formatter) ecl_assert_throw_decl(StandardException)

Detailed Description

Interface for the float (float,double) formatter.

Todo:
add code for the scientific formatting of a float.

Definition in file floats.hpp.



ecl_formatters
Author(s): Daniel Stonier (d.stonier@gmail.com)
autogenerated on Thu Jan 2 2014 11:12:10