1273 lines
21 KiB
C++
1273 lines
21 KiB
C++
// Copyright Onix Solutions Limited [OnixS]. All rights reserved.
|
|
//
|
|
// This software owned by Onix Solutions Limited [OnixS] and is
|
|
// protected by copyright law and international copyright treaties.
|
|
//
|
|
// Access to and use of the software is governed by the terms of the applicable
|
|
// OnixS Software Services Agreement (the Agreement) and Customer end user license
|
|
// agreements granting a non-assignable, non-transferable and non-exclusive license
|
|
// to use the software for it's own data processing purposes under the terms defined
|
|
// in the Agreement.
|
|
//
|
|
// Except as otherwise granted within the terms of the Agreement, copying or
|
|
// reproduction of any part of this source code or associated reference material
|
|
// to any other location for further reproduction or redistribution, and any
|
|
// amendments to this copyright notice, are expressly prohibited.
|
|
//
|
|
// Any reproduction or redistribution for sale or hiring of the Software not in
|
|
// accordance with the terms of the Agreement is a violation of copyright law.
|
|
//
|
|
|
|
#pragma once
|
|
|
|
#include <string>
|
|
|
|
#include <OnixS/CME/MDH/Messages.h>
|
|
|
|
ONIXS_CMEMDH_NAMESPACE_BEGIN
|
|
|
|
// Market Data Serialization.
|
|
|
|
/// Serializes object into a string.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toStr(
|
|
std::string& str,
|
|
AggressorSide::Enum value);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
inline
|
|
std::string
|
|
toStr(
|
|
AggressorSide::Enum value)
|
|
{
|
|
std::string str;
|
|
|
|
toStr(str, value);
|
|
|
|
return str;
|
|
}
|
|
|
|
/// Serializes object into FIX presentation.
|
|
inline
|
|
void
|
|
toFix(
|
|
std::string& str,
|
|
AggressorSide::Enum value)
|
|
{
|
|
toStr(
|
|
str,
|
|
static_cast<AggressorSide::Base>(value));
|
|
}
|
|
|
|
|
|
/// Serializes object into a string.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toStr(
|
|
std::string& str,
|
|
EventType::Enum value);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
inline std::string toStr(EventType::Enum value)
|
|
{
|
|
std::string str;
|
|
|
|
toStr(str, value);
|
|
|
|
return str;
|
|
}
|
|
|
|
/// Serializes object into FIX presentation.
|
|
inline
|
|
void
|
|
toFix(
|
|
std::string& str,
|
|
EventType::Enum value)
|
|
{
|
|
toStr(
|
|
str,
|
|
static_cast<EventType::Base>(value));
|
|
}
|
|
|
|
|
|
/// Serializes object into a string.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toStr(
|
|
std::string& str,
|
|
HaltReason::Enum value);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
inline std::string toStr(HaltReason::Enum value)
|
|
{
|
|
std::string str;
|
|
|
|
toStr(str, value);
|
|
|
|
return str;
|
|
}
|
|
|
|
/// Serializes object into FIX presentation.
|
|
inline
|
|
void
|
|
toFix(
|
|
std::string& str,
|
|
HaltReason::Enum value)
|
|
{
|
|
toStr(
|
|
str,
|
|
static_cast<HaltReason::Base>(value));
|
|
}
|
|
|
|
|
|
/// Serializes object into a string.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toStr(
|
|
std::string& str,
|
|
LegSide::Enum value);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
inline std::string toStr(LegSide::Enum value)
|
|
{
|
|
std::string str;
|
|
|
|
toStr(str, value);
|
|
|
|
return str;
|
|
}
|
|
|
|
/// Serializes object into FIX presentation.
|
|
inline
|
|
void
|
|
toFix(
|
|
std::string& str,
|
|
LegSide::Enum value)
|
|
{
|
|
toStr(
|
|
str,
|
|
static_cast<LegSide::Base>(value));
|
|
}
|
|
|
|
|
|
/// Serializes object into a string.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toStr(
|
|
std::string& str,
|
|
EntryType::Enum value);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
inline std::string toStr(EntryType::Enum value)
|
|
{
|
|
std::string str;
|
|
|
|
toStr(str, value);
|
|
|
|
return str;
|
|
}
|
|
|
|
/// Serializes object into FIX presentation.
|
|
inline
|
|
void
|
|
toFix(
|
|
std::string& str,
|
|
EntryType::Enum value)
|
|
{
|
|
toStr(
|
|
str,
|
|
static_cast<EntryType::Base>(value));
|
|
}
|
|
|
|
|
|
/// Serializes object into a string.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toStr(
|
|
std::string& str,
|
|
EntryTypeBook::Enum value);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
inline
|
|
std::string
|
|
toStr(
|
|
EntryTypeBook::Enum value)
|
|
{
|
|
std::string str;
|
|
|
|
toStr(str, value);
|
|
|
|
return str;
|
|
}
|
|
|
|
/// Serializes object into FIX presentation.
|
|
inline
|
|
void
|
|
toFix(
|
|
std::string& str,
|
|
EntryTypeBook::Enum value)
|
|
{
|
|
toStr(
|
|
str,
|
|
static_cast<EntryTypeBook::Base>(value));
|
|
}
|
|
|
|
|
|
/// Serializes object into a string.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toStr(
|
|
std::string& str,
|
|
EntryTypeDailyStatistics::Enum value);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
inline
|
|
std::string
|
|
toStr(
|
|
EntryTypeDailyStatistics::Enum value)
|
|
{
|
|
std::string str;
|
|
|
|
toStr(str, value);
|
|
|
|
return str;
|
|
}
|
|
|
|
/// Serializes object into FIX presentation.
|
|
inline
|
|
void
|
|
toFix(
|
|
std::string& str,
|
|
EntryTypeDailyStatistics::Enum value)
|
|
{
|
|
toStr(
|
|
str,
|
|
static_cast<EntryTypeDailyStatistics::Base>(value));
|
|
}
|
|
|
|
|
|
/// Serializes object into a string.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toStr(
|
|
std::string& str,
|
|
EntryTypeStatistics::Enum value);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
inline
|
|
std::string
|
|
toStr(
|
|
EntryTypeStatistics::Enum value)
|
|
{
|
|
std::string str;
|
|
|
|
toStr(str, value);
|
|
|
|
return str;
|
|
}
|
|
|
|
/// Serializes object into FIX presentation.
|
|
inline
|
|
void
|
|
toFix(
|
|
std::string& str,
|
|
EntryTypeStatistics::Enum value)
|
|
{
|
|
toStr(
|
|
str,
|
|
static_cast<EntryTypeStatistics::Base>(value));
|
|
}
|
|
|
|
|
|
/// Serializes object into a string.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toStr(
|
|
std::string& str,
|
|
UpdateAction::Enum value);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
inline std::string toStr(UpdateAction::Enum value)
|
|
{
|
|
std::string str;
|
|
|
|
toStr(str, value);
|
|
|
|
return str;
|
|
}
|
|
|
|
/// Serializes object into FIX presentation.
|
|
inline
|
|
void
|
|
toFix(
|
|
std::string& str,
|
|
UpdateAction::Enum value)
|
|
{
|
|
toStr(
|
|
str,
|
|
static_cast<UpdateAction::Base>(value));
|
|
}
|
|
|
|
|
|
/// Serializes object into a string.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toStr(
|
|
std::string& str,
|
|
OpenCloseSettlFlag::Enum value);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
inline
|
|
std::string
|
|
toStr(
|
|
OpenCloseSettlFlag::Enum value)
|
|
{
|
|
std::string str;
|
|
|
|
toStr(str, value);
|
|
|
|
return str;
|
|
}
|
|
|
|
/// Serializes object into FIX presentation.
|
|
inline
|
|
void
|
|
toFix(
|
|
std::string& str,
|
|
OpenCloseSettlFlag::Enum value)
|
|
{
|
|
toStr(
|
|
str,
|
|
static_cast<OpenCloseSettlFlag::Base>(value));
|
|
}
|
|
|
|
|
|
/// Serializes object into a string.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toStr(
|
|
std::string& str,
|
|
OrderUpdateAction::Enum value);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
inline
|
|
std::string
|
|
toStr(
|
|
OrderUpdateAction::Enum value)
|
|
{
|
|
std::string str;
|
|
|
|
toStr(str, value);
|
|
|
|
return str;
|
|
}
|
|
|
|
/// Serializes object into FIX presentation.
|
|
inline
|
|
void
|
|
toFix(
|
|
std::string& str,
|
|
OrderUpdateAction::Enum value)
|
|
{
|
|
toStr(
|
|
str,
|
|
static_cast<OrderUpdateAction::Base>(value));
|
|
}
|
|
|
|
|
|
/// Serializes object into a string.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toStr(
|
|
std::string& str,
|
|
PutOrCall::Enum value);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
inline std::string toStr(PutOrCall::Enum value)
|
|
{
|
|
std::string str;
|
|
|
|
toStr(str, value);
|
|
|
|
return str;
|
|
}
|
|
|
|
/// Serializes object into FIX presentation.
|
|
inline
|
|
void
|
|
toFix(
|
|
std::string& str,
|
|
PutOrCall::Enum value)
|
|
{
|
|
toStr(
|
|
str,
|
|
static_cast<PutOrCall::Base>(value));
|
|
}
|
|
|
|
|
|
/// Serializes object into a string.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toStr(
|
|
std::string& str,
|
|
SecurityTradingEvent::Enum value);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
inline
|
|
std::string
|
|
toStr(
|
|
SecurityTradingEvent::Enum value)
|
|
{
|
|
std::string str;
|
|
|
|
toStr(str, value);
|
|
|
|
return str;
|
|
}
|
|
|
|
/// Serializes object into FIX presentation.
|
|
inline
|
|
void
|
|
toFix(
|
|
std::string& str,
|
|
SecurityTradingEvent::Enum value)
|
|
{
|
|
toStr(
|
|
str,
|
|
static_cast<SecurityTradingEvent::Base>(value));
|
|
}
|
|
|
|
|
|
/// Serializes object into a string.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toStr(
|
|
std::string& str,
|
|
SecurityTradingStatus::Enum value);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
inline
|
|
std::string
|
|
toStr(
|
|
SecurityTradingStatus::Enum value)
|
|
{
|
|
std::string str;
|
|
|
|
toStr(str, value);
|
|
|
|
return str;
|
|
}
|
|
|
|
/// Serializes object into FIX presentation.
|
|
inline
|
|
void
|
|
toFix(
|
|
std::string& str,
|
|
SecurityTradingStatus::Enum value)
|
|
{
|
|
toStr(
|
|
str,
|
|
static_cast<SecurityTradingStatus::Base>(value));
|
|
}
|
|
|
|
|
|
/// Serializes object into a string.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toStr(
|
|
std::string& str,
|
|
SecurityUpdateAction::Enum value);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
inline
|
|
std::string
|
|
toStr(
|
|
SecurityUpdateAction::Enum value)
|
|
{
|
|
std::string str;
|
|
|
|
toStr(str, value);
|
|
|
|
return str;
|
|
}
|
|
|
|
/// Serializes object into FIX presentation.
|
|
inline
|
|
void
|
|
toFix(
|
|
std::string& str,
|
|
SecurityUpdateAction::Enum value)
|
|
{
|
|
toStr(
|
|
str,
|
|
static_cast<SecurityUpdateAction::Base>(value));
|
|
}
|
|
|
|
|
|
/// Serializes object into a string.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toStr(
|
|
std::string& str,
|
|
InstAttribValue set);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
inline std::string toStr(InstAttribValue set)
|
|
{
|
|
std::string str;
|
|
|
|
toStr(str, set);
|
|
|
|
return str;
|
|
}
|
|
|
|
/// Serializes object into FIX presentation.
|
|
inline
|
|
void
|
|
toFix(
|
|
std::string& str,
|
|
InstAttribValue set)
|
|
{
|
|
toStr(str, set.bits());
|
|
}
|
|
|
|
|
|
/// Serializes object into a string.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toStr(
|
|
std::string& str,
|
|
MatchEventIndicator set);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
inline std::string toStr(MatchEventIndicator set)
|
|
{
|
|
std::string str;
|
|
|
|
toStr(str, set);
|
|
|
|
return str;
|
|
}
|
|
|
|
/// Serializes object into FIX presentation.
|
|
inline
|
|
void
|
|
toFix(
|
|
std::string& str,
|
|
MatchEventIndicator set)
|
|
{
|
|
toStr(str, set.bits());
|
|
}
|
|
|
|
|
|
/// Serializes object into a string.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toStr(
|
|
std::string& str,
|
|
SettlPriceType set);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
inline std::string toStr(SettlPriceType set)
|
|
{
|
|
std::string str;
|
|
|
|
toStr(str, set);
|
|
|
|
return str;
|
|
}
|
|
|
|
/// Serializes object into FIX presentation.
|
|
inline
|
|
void
|
|
toFix(
|
|
std::string& str,
|
|
SettlPriceType set)
|
|
{
|
|
toStr(str, set.bits());
|
|
}
|
|
|
|
|
|
/// Serializes object into a string.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toStr(
|
|
std::string& str,
|
|
const DecimalQty& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
inline std::string toStr(const DecimalQty& obj)
|
|
{
|
|
std::string str;
|
|
|
|
toStr(str, obj);
|
|
|
|
return str;
|
|
}
|
|
|
|
|
|
/// Serializes object into a string.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toStr(
|
|
std::string& str,
|
|
const MaturityMonthYear& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
inline
|
|
std::string
|
|
toStr(
|
|
const MaturityMonthYear& obj)
|
|
{
|
|
std::string str;
|
|
|
|
toStr(str, obj);
|
|
|
|
return str;
|
|
}
|
|
|
|
|
|
/// Serializes object into a string.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toStr(
|
|
std::string& str,
|
|
const GroupSize& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
inline std::string toStr(const GroupSize& obj)
|
|
{
|
|
std::string str;
|
|
|
|
toStr(str, obj);
|
|
|
|
return str;
|
|
}
|
|
|
|
|
|
/// Serializes object into a string.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toStr(
|
|
std::string& str,
|
|
const GroupSize8Byte& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
inline
|
|
std::string
|
|
toStr(
|
|
const GroupSize8Byte& obj)
|
|
{
|
|
std::string str;
|
|
|
|
toStr(str, obj);
|
|
|
|
return str;
|
|
}
|
|
|
|
|
|
/// Serializes object into a string.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toStr(
|
|
std::string& str,
|
|
const GroupSizeEncoding& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
inline
|
|
std::string
|
|
toStr(
|
|
const GroupSizeEncoding& obj)
|
|
{
|
|
std::string str;
|
|
|
|
toStr(str, obj);
|
|
|
|
return str;
|
|
}
|
|
|
|
|
|
/// Serializes object into a string.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toStr(
|
|
std::string& str,
|
|
const MessageHeader& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
inline std::string toStr(const MessageHeader& obj)
|
|
{
|
|
std::string str;
|
|
|
|
toStr(str, obj);
|
|
|
|
return str;
|
|
}
|
|
|
|
|
|
/// Serializes object into a string.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toStr(
|
|
std::string& str,
|
|
const ChannelReset& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
inline std::string toStr(const ChannelReset& obj)
|
|
{
|
|
std::string str;
|
|
|
|
toStr(str, obj);
|
|
|
|
return str;
|
|
}
|
|
|
|
/// Serializes object into FIX presentation.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toFix(
|
|
std::string& str,
|
|
const ChannelReset& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toStr(
|
|
std::string& str,
|
|
const AdminHeartbeat& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
inline
|
|
std::string
|
|
toStr(
|
|
const AdminHeartbeat& obj)
|
|
{
|
|
std::string str;
|
|
|
|
toStr(str, obj);
|
|
|
|
return str;
|
|
}
|
|
|
|
/// Serializes object into FIX presentation.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toFix(
|
|
std::string& str,
|
|
const AdminHeartbeat& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toStr(
|
|
std::string& str,
|
|
const AdminLogin& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
inline std::string toStr(const AdminLogin& obj)
|
|
{
|
|
std::string str;
|
|
|
|
toStr(str, obj);
|
|
|
|
return str;
|
|
}
|
|
|
|
/// Serializes object into FIX presentation.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toFix(
|
|
std::string& str,
|
|
const AdminLogin& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toStr(
|
|
std::string& str,
|
|
const AdminLogout& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
inline std::string toStr(const AdminLogout& obj)
|
|
{
|
|
std::string str;
|
|
|
|
toStr(str, obj);
|
|
|
|
return str;
|
|
}
|
|
|
|
/// Serializes object into FIX presentation.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toFix(
|
|
std::string& str,
|
|
const AdminLogout& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toStr(
|
|
std::string& str,
|
|
const InstrumentDefinitionFuture& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
inline
|
|
std::string
|
|
toStr(
|
|
const InstrumentDefinitionFuture& obj)
|
|
{
|
|
std::string str;
|
|
|
|
toStr(str, obj);
|
|
|
|
return str;
|
|
}
|
|
|
|
/// Serializes object into FIX presentation.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toFix(
|
|
std::string& str,
|
|
const InstrumentDefinitionFuture& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toStr(
|
|
std::string& str,
|
|
const InstrumentDefinitionSpread& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
inline
|
|
std::string
|
|
toStr(
|
|
const InstrumentDefinitionSpread& obj)
|
|
{
|
|
std::string str;
|
|
|
|
toStr(str, obj);
|
|
|
|
return str;
|
|
}
|
|
|
|
/// Serializes object into FIX presentation.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toFix(
|
|
std::string& str,
|
|
const InstrumentDefinitionSpread& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toStr(
|
|
std::string& str,
|
|
const SecurityStatus& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
inline
|
|
std::string
|
|
toStr(
|
|
const SecurityStatus& obj)
|
|
{
|
|
std::string str;
|
|
|
|
toStr(str, obj);
|
|
|
|
return str;
|
|
}
|
|
|
|
/// Serializes object into FIX presentation.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toFix(
|
|
std::string& str,
|
|
const SecurityStatus& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toStr(
|
|
std::string& str,
|
|
const IncrementalRefreshBook& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
inline
|
|
std::string
|
|
toStr(
|
|
const IncrementalRefreshBook& obj)
|
|
{
|
|
std::string str;
|
|
|
|
toStr(str, obj);
|
|
|
|
return str;
|
|
}
|
|
|
|
/// Serializes object into FIX presentation.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toFix(
|
|
std::string& str,
|
|
const IncrementalRefreshBook& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toStr(
|
|
std::string& str,
|
|
const IncrementalRefreshDailyStatistics& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
inline
|
|
std::string
|
|
toStr(
|
|
const IncrementalRefreshDailyStatistics& obj)
|
|
{
|
|
std::string str;
|
|
|
|
toStr(str, obj);
|
|
|
|
return str;
|
|
}
|
|
|
|
/// Serializes object into FIX presentation.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toFix(
|
|
std::string& str,
|
|
const IncrementalRefreshDailyStatistics& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toStr(
|
|
std::string& str,
|
|
const IncrementalRefreshLimitsBanding& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
inline
|
|
std::string
|
|
toStr(
|
|
const IncrementalRefreshLimitsBanding& obj)
|
|
{
|
|
std::string str;
|
|
|
|
toStr(str, obj);
|
|
|
|
return str;
|
|
}
|
|
|
|
/// Serializes object into FIX presentation.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toFix(
|
|
std::string& str,
|
|
const IncrementalRefreshLimitsBanding& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toStr(
|
|
std::string& str,
|
|
const IncrementalRefreshSessionStatistics& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
inline
|
|
std::string
|
|
toStr(
|
|
const IncrementalRefreshSessionStatistics& obj)
|
|
{
|
|
std::string str;
|
|
|
|
toStr(str, obj);
|
|
|
|
return str;
|
|
}
|
|
|
|
/// Serializes object into FIX presentation.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toFix(
|
|
std::string& str,
|
|
const IncrementalRefreshSessionStatistics& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toStr(
|
|
std::string& str,
|
|
const IncrementalRefreshTrade& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
inline
|
|
std::string
|
|
toStr(
|
|
const IncrementalRefreshTrade& obj)
|
|
{
|
|
std::string str;
|
|
|
|
toStr(str, obj);
|
|
|
|
return str;
|
|
}
|
|
|
|
/// Serializes object into FIX presentation.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toFix(
|
|
std::string& str,
|
|
const IncrementalRefreshTrade& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toStr(
|
|
std::string& str,
|
|
const IncrementalRefreshVolume& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
inline
|
|
std::string
|
|
toStr(
|
|
const IncrementalRefreshVolume& obj)
|
|
{
|
|
std::string str;
|
|
|
|
toStr(str, obj);
|
|
|
|
return str;
|
|
}
|
|
|
|
/// Serializes object into FIX presentation.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toFix(
|
|
std::string& str,
|
|
const IncrementalRefreshVolume& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toStr(
|
|
std::string& str,
|
|
const SnapshotFullRefresh& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
inline
|
|
std::string
|
|
toStr(
|
|
const SnapshotFullRefresh& obj)
|
|
{
|
|
std::string str;
|
|
|
|
toStr(str, obj);
|
|
|
|
return str;
|
|
}
|
|
|
|
/// Serializes object into FIX presentation.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toFix(
|
|
std::string& str,
|
|
const SnapshotFullRefresh& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toStr(
|
|
std::string& str,
|
|
const QuoteRequest& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
inline std::string toStr(const QuoteRequest& obj)
|
|
{
|
|
std::string str;
|
|
|
|
toStr(str, obj);
|
|
|
|
return str;
|
|
}
|
|
|
|
/// Serializes object into FIX presentation.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toFix(
|
|
std::string& str,
|
|
const QuoteRequest& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toStr(
|
|
std::string& str,
|
|
const InstrumentDefinitionOption& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
inline
|
|
std::string
|
|
toStr(
|
|
const InstrumentDefinitionOption& obj)
|
|
{
|
|
std::string str;
|
|
|
|
toStr(str, obj);
|
|
|
|
return str;
|
|
}
|
|
|
|
/// Serializes object into FIX presentation.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toFix(
|
|
std::string& str,
|
|
const InstrumentDefinitionOption& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toStr(
|
|
std::string& str,
|
|
const IncrementalRefreshTradeSummary& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
inline
|
|
std::string
|
|
toStr(
|
|
const IncrementalRefreshTradeSummary& obj)
|
|
{
|
|
std::string str;
|
|
|
|
toStr(str, obj);
|
|
|
|
return str;
|
|
}
|
|
|
|
/// Serializes object into FIX presentation.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toFix(
|
|
std::string& str,
|
|
const IncrementalRefreshTradeSummary& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toStr(
|
|
std::string& str,
|
|
const IncrementalRefreshOrderBook& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
inline
|
|
std::string
|
|
toStr(
|
|
const IncrementalRefreshOrderBook& obj)
|
|
{
|
|
std::string str;
|
|
|
|
toStr(str, obj);
|
|
|
|
return str;
|
|
}
|
|
|
|
/// Serializes object into FIX presentation.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toFix(
|
|
std::string& str,
|
|
const IncrementalRefreshOrderBook& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toStr(
|
|
std::string& str,
|
|
const SnapshotFullRefreshOrderBook& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
inline
|
|
std::string
|
|
toStr(
|
|
const SnapshotFullRefreshOrderBook& obj)
|
|
{
|
|
std::string str;
|
|
|
|
toStr(str, obj);
|
|
|
|
return str;
|
|
}
|
|
|
|
/// Serializes object into FIX presentation.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toFix(
|
|
std::string& str,
|
|
const SnapshotFullRefreshOrderBook& obj);
|
|
|
|
|
|
ONIXS_CMEMDH_NAMESPACE_END
|