00001 #ifndef _IT_BUS_NUMERIC_CONSTANTS_H_
00002 #define _IT_BUS_NUMERIC_CONSTANTS_H_
00003
00004
00005
00006
00007 #include <it_bus/api_defines.h>
00008 #include <it_bus/types.h>
00009
00010 namespace IT_Bus
00011 {
00012 class IT_AFC_API NumericConstants
00013 {
00014 public:
00015
00016 static const int INT_POSITIVE_ZERO;
00017
00018 static const int INT_NEGATIVE_ZERO;
00019
00020 static const float FL_POSITIVE_ZERO;
00021
00022 static const float FL_NEGATIVE_ZERO;
00023
00024 static const float FL_POSITIVE_INFINITY;
00025
00026 static const float FL_NEGATIVE_INFINITY;
00027
00028 static const float FL_NaN;
00029
00030 static const Double DBL_POSITIVE_ZERO;
00031
00032 static const Double DBL_NEGATIVE_ZERO;
00033
00034 static const Double DBL_POSITIVE_INFINITY;
00035
00036 static const Double DBL_NEGATIVE_INFINITY;
00037
00038 static const Double DBL_NaN;
00039
00040 protected:
00041 NumericConstants() {}
00042 ~NumericConstants() {}
00043
00044 private:
00045
00046 NumericConstants(const NumericConstants&);
00047 void operator=(const NumericConstants&);
00048 };
00049 }
00050
00051 #endif