Namespaces | Classes | Typedefs | Enumerations | Functions
ecl Namespace Reference

Embedded control libraries. More...

Namespaces

namespace  concepts
namespace  interfaces
 

Supporting elements and interfaces.


Classes

class  BluePrintConcept
class  Bool
class  ByteContainerConcept
class  ContainerConcept
class  Converter
class  Converter< char *, bool >
class  Converter< char *, char >
class  Converter< char *, double >
class  Converter< char *, float >
class  Converter< char *, int >
class  Converter< char *, long >
class  Converter< char *, long long >
class  Converter< char *, short >
class  Converter< char *, unsigned char >
class  Converter< char *, unsigned int >
class  Converter< char *, unsigned long >
class  Converter< char *, unsigned long long >
class  Converter< char *, unsigned short >
class  Converter< char *, void >
class  Converter< char, int >
class  Converter< char, unsigned int >
class  Converter< char, void >
class  Converter< int, char * >
class  Converter< int, char >
class  Converter< int, std::string >
class  Converter< int, unsigned char * >
class  Converter< int, void >
class  Converter< Integral, std::vector< char > >
class  Converter< Integral, std::vector< signed char > >
class  Converter< Integral, std::vector< unsigned char > >
class  Converter< Output, void >
class  Converter< std::string, int >
class  Converter< std::string, void >
class  Converter< std::vector< char >, char * >
class  Converter< std::vector< char >, int >
class  Converter< std::vector< char >, long >
class  Converter< std::vector< char >, long long >
class  Converter< std::vector< char >, unsigned int >
class  Converter< std::vector< char >, unsigned long >
class  Converter< std::vector< char >, void >
class  Converter< std::vector< signed char >, int >
class  Converter< std::vector< signed char >, long >
class  Converter< std::vector< signed char >, long long >
class  Converter< std::vector< signed char >, unsigned int >
class  Converter< std::vector< signed char >, unsigned long >
class  Converter< std::vector< signed char >, void >
class  Converter< std::vector< unsigned char >, int >
class  Converter< std::vector< unsigned char >, long >
class  Converter< std::vector< unsigned char >, long long >
class  Converter< std::vector< unsigned char >, unsigned int >
class  Converter< std::vector< unsigned char >, unsigned long >
class  Converter< std::vector< unsigned char >, void >
class  DataException
class  DynamicContainerConcept
struct  enable_if
struct  enable_if_c
struct  enable_if_c< false, T >
class  Error
class  Exception
class  FailedObject
class  Format
 Primary template for all formatter classes. More...
class  Format< char >
 Formatter for char types. It is a specialisation of the Format<IntegralNumber> class. More...
class  Format< double >
 Formatter for double types. More...
class  Format< float >
 Formatter for float types. More...
class  Format< int >
 Formatter for int types. It is a specialisation of the Format<IntegralNumber> class. More...
class  Format< long >
 Formatter for long types. It is a specialisation of the Format<IntegralNumber> class. More...
class  Format< short >
 Formatter for short types. It is a specialisation of the Format<IntegralNumber> class. More...
class  Format< signed char >
 Formatter for signed char types. It is a specialisation of the Format<IntegralNumber> class. More...
class  Format< std::string >
 Formatter for string types. More...
class  Format< unsigned char >
 Formatter for unsigned char types. It is a specialisation of the Format<IntegralNumber> class. More...
class  Format< unsigned int >
 Formatter for unsigned int types. It is a specialisation of the Format<IntegralNumber> class. More...
class  Format< unsigned long >
 Formatter for unsigned long types. It is a specialisation of the Format<IntegralNumber> class. More...
class  Format< unsigned short >
 Formatter for unsigned short types. It is a specialisation of the Format<IntegralNumber> class. More...
struct  if_c
struct  if_c< false, T1, T2 >
class  InputByteDeviceConcept
class  InputCharDeviceConcept
class  InputOutputByteDeviceConcept
class  InputOutputCharDeviceConcept
class  is_byte
class  is_byte< char >
class  is_byte< signed char >
class  is_byte< unsigned char >
class  is_float
class  is_float< double >
class  is_float< float >
class  is_float< long double >
class  is_integral
class  is_integral< char >
class  is_integral< int >
class  is_integral< long >
class  is_integral< long long >
class  is_integral< short >
class  is_integral< unsigned char >
class  is_integral< unsigned int >
class  is_integral< unsigned long >
class  is_integral< unsigned long long >
class  is_integral< unsigned short >
class  is_signed
class  is_signed< char >
class  is_signed< int >
class  is_signed< long >
class  is_signed< long long >
class  is_signed< short >
class  is_signed_byte
class  is_signed_byte< char >
class  is_signed_byte< signed char >
class  is_unsigned
class  is_unsigned< unsigned char >
class  is_unsigned< unsigned int >
class  is_unsigned< unsigned long >
class  is_unsigned< unsigned long long >
class  is_unsigned< unsigned short >
class  is_unsigned_byte
class  is_unsigned_byte< char >
class  is_unsigned_byte< unsigned char >
class  NullaryFunctionConcept
class  numeric_limits
class  numeric_limits< char >
class  numeric_limits< double >
class  numeric_limits< float >
class  numeric_limits< int >
class  numeric_limits< long >
class  numeric_limits< long double >
class  numeric_limits< long long >
class  numeric_limits< short >
class  numeric_limits< unsigned char >
class  numeric_limits< unsigned int >
class  numeric_limits< unsigned long >
class  numeric_limits< unsigned long long >
class  numeric_limits< unsigned short >
class  OutputByteDeviceConcept
class  OutputCharDeviceConcept
class  PosixErrorHandler
struct  PrecisionWidth
 Precision width trait for fundamental types. More...
struct  PrecisionWidth< double >
 Precision width trait for doubles. More...
struct  PrecisionWidth< float >
 Precision width trait for floats. More...
class  SignedByteContainerConcept
class  StandardException
class  StreamConcept
struct  Unsigned
struct  Unsigned< char >
struct  Unsigned< int >
struct  Unsigned< long >
struct  Unsigned< long long >
struct  Unsigned< short >
struct  Unsigned< unsigned char >
struct  Unsigned< unsigned int >
struct  Unsigned< unsigned long >
struct  Unsigned< unsigned long long >
struct  Unsigned< unsigned short >
class  UnsignedByteContainerConcept

Typedefs

typedef Bool< false > False
typedef Bool< true > True

Enumerations

enum  Alignment { NoAlign, LeftAlign, RightAlign, CentreAlign }
 Alignment tags for text formatting. More...
enum  FloatBase { Fixed, Sci }
 Base format tags for the float formatters. More...
enum  IntegralBase { Bin, Hex, Dec }
 Base format tags for the integral formatters. More...

Functions

bool is_big_endian ()
bool is_char_signed ()
template<typename OutputStream >
OutputStream & operator<< (OutputStream &ostream, Format< std::string > &formatter) ecl_assert_throw_decl(StandardException)

Detailed Description

Embedded control libraries.

Various core libraries useful for embedded control systems.


Enumeration Type Documentation

Alignment tags for text formatting.

Common alignment format tag for the formatters.

Enumerator:
NoAlign 

No alignment used.

LeftAlign 

Align to the left.

RightAlign 

Align to the right.

CentreAlign 

Align in the centre.

Definition at line 29 of file common.hpp.

Base format tags for the float formatters.

Base format tags for text formatting of floats.

Enumerator:
Fixed 

Fixed formatting for floats (i.e. normal decimal representation).

Sci 

Scientific formatting for floats (i.e. exponential representation).

Definition at line 42 of file floats.hpp.

Base format tags for the integral formatters.

Format tags for text formatting of integral numbers.

Enumerator:
Bin 

Binary representation for integral types.

Hex 

Hex representation for integral types.

Dec 

Decimal (i.e. normal) representation for integral types.

Definition at line 37 of file number.hpp.


Function Documentation

template<typename OutputStream >
OutputStream& ecl::operator<< ( OutputStream &  ostream,
Format< std::string > &  formatter 
)

Insertion operator for formatters. It takes a customised formatter and inserts its current context into the stream. If two formatters are used in succession, it will throw an error (c++ cannot handle two in a single line of streaming). This works on normal c++ streams as well as TextStreams.

Parameters:
ostream: the stream to insert the formatted object into.
formatter: the format context.
Returns:
OutputStream : a handle to the resultant stream.
Exceptions:
StandardException: throws if the formatter is used multiply in one stream operation [debug mode only].

Definition at line 223 of file strings.hpp.



ecl_formatters
Author(s): Daniel Stonier
autogenerated on Thu Jun 6 2019 21:17:36