Public Member Functions | Static Public Member Functions

ELAM::FloatEngine Class Reference

an engine that has floating point (double) numbers implemented More...

#include <elamfloatengine.h>

Inheritance diagram for ELAM::FloatEngine:
Inheritance graph
[legend]
Collaboration diagram for ELAM::FloatEngine:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 FloatEngine ()
 instantiates a pre-initialized engine

Static Public Member Functions

static void configureFloatEngine (Engine &)
 configures any engine to support float
static int floatHighParserPrio ()
 returns the high priority for float literal parsers, this applies to floats that are definitely not int
static int floatLowParserPrio ()
 returns the low priority for float literal parsers, this applies to floats that would be interpreted as int if an int engine is present

Detailed Description

an engine that has floating point (double) numbers implemented

This engine type plays nice with the IntEngine functions by supplemening its operators to be able to mix float and int in operations.

Per default only the float versions are pre-installed. Use IntEngine::configureIntEngine or IntFloatEngine to have both.


Constructor & Destructor Documentation

ELAM::FloatEngine::FloatEngine (  ) 

instantiates a pre-initialized engine


Member Function Documentation

static void ELAM::FloatEngine::configureFloatEngine ( Engine  )  [static]

configures any engine to support float

static int ELAM::FloatEngine::floatHighParserPrio (  )  [static]

returns the high priority for float literal parsers, this applies to floats that are definitely not int

static int ELAM::FloatEngine::floatLowParserPrio (  )  [static]

returns the low priority for float literal parsers, this applies to floats that would be interpreted as int if an int engine is present


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