OnixS C++ CME MDP Premium Market Data Handler 5.10.3
Users' manual and API documentation
Loading...
Searching...
No Matches
Decimal.h
Go to the documentation of this file.
1#pragma once
2
4#include <OnixS/CME/MDH/ABI.h>
5
6#if !defined(ONIXS_CMEMDH_MESSAGING_NO_DEPRECATED)
7
8ONIXS_CMEMDH_DEPRECATED_HEADER("This header is deprecated. Use <OnixS/CME/MDH/messaging/Decimal.h> and <OnixS/CME/MDH/messaging/Decimal.Operations.h> instead.")
9
10#include <OnixS/CME/MDH/messaging/Decimal.h>
12
14
15template <class MantissaType, class ExponentType>
16using FloatingPointDecimal ONIXS_CMEMDH_DEPRECATED =
17 Messaging::FloatingPointDecimal<MantissaType, ExponentType>;
18
19template <class MantissaType, class ExponentType>
20using FixedPointDecimal ONIXS_CMEMDH_DEPRECATED =
21 Messaging::FixedPointDecimal<MantissaType, ExponentType>;
22
23using DecimalMantissa ONIXS_CMEMDH_DEPRECATED = Messaging::DecimalMantissa;
24using DecimalExponent ONIXS_CMEMDH_DEPRECATED = Messaging::DecimalExponent;
25using Decimal ONIXS_CMEMDH_DEPRECATED = Messaging::Decimal;
26
27using Messaging::decimalEqual;
28using Messaging::decimalLess;
29using Messaging::decimalToStr;
30using Messaging::fromStr;
31using Messaging::toStr;
32
34
35#endif
#define ONIXS_CMEMDH_NAMESPACE_BEGIN
Definition Bootstrap.h:54
#define ONIXS_CMEMDH_NAMESPACE_END
Definition Bootstrap.h:55
#define ONIXS_CMEMDH_DEPRECATED
Definition Compiler.h:167
#define ONIXS_CMEMDH_DEPRECATED_HEADER(msg)
Definition Compiler.h:168
Int32 DecimalExponent
Aliases exponent component type for the decimal type.
Int64 DecimalMantissa
Aliases mantissa component type for the decimal type.
FloatingPointDecimal< DecimalMantissa, DecimalExponent > Decimal
Universal decimal type.