7# error Please, include windows.h or winnt.h after dxFeed Graal CXX API headers
11# define DXFCXX_VERSION "0.0.0"
15# ifndef DXFCXX_DISABLE_MSC_WARNINGS_PUSH
16# define DXFCXX_DISABLE_MSC_WARNINGS_PUSH(...) __pragma(warning(push)) __pragma(warning(disable : __VA_ARGS__))
17# define DXFCXX_DISABLE_MSC_WARNINGS_POP() __pragma(warning(pop))
20# ifndef DXFCXX_DISABLE_MSC_WARNINGS_PUSH
21# define DXFCXX_DISABLE_MSC_WARNINGS_PUSH(warnings)
22# define DXFCXX_DISABLE_MSC_WARNINGS_POP()
26#if defined(__GNUC__
) && !defined(__clang__
) && !defined(__INTEL_COMPILER) && !defined(__NVCOMPILER)
27# ifndef DXFCXX_DO_PRAGMA
28# define DXFCXX_DO_PRAGMA(x) _Pragma(#x)
30# ifndef DXFCXX_DISABLE_GCC_WARNINGS_PUSH
31# define DXFCXX_DISABLE_GCC_WARNINGS_PUSH(...)
32 DXFCXX_DO_PRAGMA(GCC diagnostic push) DXFCXX_DO_PRAGMA(GCC diagnostic ignored __VA_ARGS__)
33# define DXFCXX_DISABLE_GCC_WARNINGS(...) DXFCXX_DO_PRAGMA(GCC diagnostic ignored __VA_ARGS__)
34# define DXFCXX_DISABLE_GCC_WARNINGS_POP() DXFCXX_DO_PRAGMA(GCC diagnostic pop)
37# ifndef DXFCXX_DISABLE_GCC_WARNINGS_PUSH
38# define DXFCXX_DISABLE_GCC_WARNINGS_PUSH(warnings)
39# define DXFCXX_DISABLE_GCC_WARNINGS(warnings)
40# define DXFCXX_DISABLE_GCC_WARNINGS_POP()
45# if defined(DXFCPP_USE_DLLS) && defined(_MSC_VER)
46# if defined(LIBDXFCPP_EXPORTS)
47# define DXFCPP_EXPORT __declspec(dllexport)
48# define DXFCPP_EXPORT_TEMPLATE_DECLARE
49# define DXFCPP_EXPORT_TEMPLATE_DEFINE __declspec(dllexport)
51# define DXFCPP_EXPORT __declspec(dllimport)
52# define DXFCPP_EXPORT_TEMPLATE_DECLARE
53# define DXFCPP_EXPORT_TEMPLATE_DEFINE __declspec(dllimport)
55# elif defined(DXFCPP_USE_DLLS) && defined(LIBDXFCPP_EXPORTS)
56# define DXFCPP_EXPORT __attribute__((visibility("default")))
57# define DXFCPP_EXPORT_TEMPLATE_DECLARE __attribute__((visibility("default")))
58# define DXFCPP_EXPORT_TEMPLATE_DEFINE
61# define DXFCPP_EXPORT_TEMPLATE_DECLARE
62# define DXFCPP_EXPORT_TEMPLATE_DEFINE
66#ifndef DXFCPP_BEGIN_NAMESPACE
67# define DXFCPP_BEGIN_NAMESPACE
70# define DXFCPP_END_NAMESPACE
76# if __has_include
(<ciso646> )
78# elif __has_include(<iso646.h>)
88constexpr bool isClangFlavouredCompiler =
true;
90constexpr bool isClangFlavouredCompiler =
false;
94constexpr bool isLibCPP =
true;
95constexpr bool isLibCXX =
false;
96constexpr bool isMSSTL =
false;
97constexpr bool isUnknownSTL =
false;
99constexpr bool isLibCPP =
false;
100constexpr bool isLibCXX =
true;
101constexpr bool isMSSTL =
false;
102constexpr bool isUnknownSTL =
false;
104constexpr bool isLibCPP =
false;
105constexpr bool isLibCXX =
false;
106constexpr bool isMSSTL =
true;
107constexpr bool isUnknownSTL =
false;
109constexpr bool isLibCPP =
false;
110constexpr bool isLibCXX =
false;
111constexpr bool isMSSTL =
false;
112constexpr bool isUnknownSTL =
true;
115#ifndef DXFCPP_CXX20_CONSTEXPR_STRING
116# if defined(__cpp_lib_constexpr_string) &&
117 ((defined(__GNUC__
) && __GNUC__
>= 12
) || (defined(__clang_major__
) && __clang_major__
>= 15
) ||
118 (defined(_MSC_VER) && _MSC_VER >= 1929
))
119# define DXFCPP_CXX20_CONSTEXPR_STRING constexpr
121# define DXFCPP_CXX20_CONSTEXPR_STRING
#define DXFCXX_DISABLE_MSC_WARNINGS_POP()
Definition Conf.hpp:22
#define DXFCPP_END_NAMESPACE
Definition Conf.hpp:70
#define DXFCPP_BEGIN_NAMESPACE
Definition Conf.hpp:67
#define DXFCXX_DISABLE_GCC_WARNINGS_PUSH(warnings)
Definition Conf.hpp:38
#define DXFCXX_DISABLE_GCC_WARNINGS_POP()
Definition Conf.hpp:40
#define DXFCXX_DISABLE_MSC_WARNINGS_PUSH(warnings)
Definition Conf.hpp:21
#define DXFCPP_EXPORT
Definition api.h:35
Base abstract class for all dxFeed C++ API entities.
Definition Entity.hpp:13
Marks all event types that can be received via dxFeed API.
Definition EventType.hpp:31
A helper class needed to construct smart pointers to objects, and does not allow explicit constructio...
Definition SharedEntity.hpp:89
static auto createShared(Args &&...args)
Creates smart pointer to object.
Definition SharedEntity.hpp:103
Base abstract "shared entity" class. Has some helpers for dynamic polymorphism.
Definition SharedEntity.hpp:21
virtual std::string toString() const
Returns a string representation of the current object.
Definition SharedEntity.hpp:78
std::shared_ptr< T > sharedAs() const noexcept
Returns a pointer to the current object wrapped in a smart pointer to type T.
Definition SharedEntity.hpp:69
std::shared_ptr< T > sharedAs() noexcept
Returns a pointer to the current object wrapped in a smart pointer to type T.
Definition SharedEntity.hpp:56
bool is() const noexcept
Checks that pointer to the current type could be converted to type T* In other words: whether type T ...
Definition SharedEntity.hpp:35