dxFeed Graal CXX API v4.2.0
Loading...
Searching...
No Matches
Formatter.hpp
1// Copyright (c) 2025 Devexperts LLC.
2// SPDX-License-Identifier: MPL-2.0
3
4#pragma once
5
6#include "../Conf.hpp"
7
8#include "../../event/EventType.hpp"
9
11
12#include <fmt/chrono.h>
13#include <fmt/format.h>
14#include <fmt/ostream.h>
15#include <fmt/std.h>
16
18
20
21template <> struct fmt::formatter<dxfcpp::EventType> : ostream_formatter {};
22
23template <> struct fmt::formatter<std::shared_ptr<dxfcpp::EventType>> : ostream_formatter {};
24
25template <typename T>
26struct fmt::formatter<T, std::enable_if_t<std::is_base_of<dxfcpp::EventType, T>::value, char>> : ostream_formatter {};
27
#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_MSC_WARNINGS_PUSH(warnings)
Definition Conf.hpp:21