1585 lines
25 KiB
C++
1585 lines
25 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 Decimal9& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
inline std::string toStr(const Decimal9& obj)
|
|
{
|
|
std::string str;
|
|
|
|
toStr(str, obj);
|
|
|
|
return str;
|
|
}
|
|
|
|
|
|
/// 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 InstrumentDefinitionFuture27& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
inline
|
|
std::string
|
|
toStr(
|
|
const InstrumentDefinitionFuture27& obj)
|
|
{
|
|
std::string str;
|
|
|
|
toStr(str, obj);
|
|
|
|
return str;
|
|
}
|
|
|
|
/// Serializes object into FIX presentation.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toFix(
|
|
std::string& str,
|
|
const InstrumentDefinitionFuture27& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toStr(
|
|
std::string& str,
|
|
const InstrumentDefinitionSpread29& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
inline
|
|
std::string
|
|
toStr(
|
|
const InstrumentDefinitionSpread29& obj)
|
|
{
|
|
std::string str;
|
|
|
|
toStr(str, obj);
|
|
|
|
return str;
|
|
}
|
|
|
|
/// Serializes object into FIX presentation.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toFix(
|
|
std::string& str,
|
|
const InstrumentDefinitionSpread29& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toStr(
|
|
std::string& str,
|
|
const IncrementalRefreshBook32& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
inline
|
|
std::string
|
|
toStr(
|
|
const IncrementalRefreshBook32& obj)
|
|
{
|
|
std::string str;
|
|
|
|
toStr(str, obj);
|
|
|
|
return str;
|
|
}
|
|
|
|
/// Serializes object into FIX presentation.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toFix(
|
|
std::string& str,
|
|
const IncrementalRefreshBook32& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toStr(
|
|
std::string& str,
|
|
const IncrementalRefreshDailyStatistics33& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
inline
|
|
std::string
|
|
toStr(
|
|
const IncrementalRefreshDailyStatistics33& obj)
|
|
{
|
|
std::string str;
|
|
|
|
toStr(str, obj);
|
|
|
|
return str;
|
|
}
|
|
|
|
/// Serializes object into FIX presentation.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toFix(
|
|
std::string& str,
|
|
const IncrementalRefreshDailyStatistics33& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toStr(
|
|
std::string& str,
|
|
const IncrementalRefreshLimitsBanding34& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
inline
|
|
std::string
|
|
toStr(
|
|
const IncrementalRefreshLimitsBanding34& obj)
|
|
{
|
|
std::string str;
|
|
|
|
toStr(str, obj);
|
|
|
|
return str;
|
|
}
|
|
|
|
/// Serializes object into FIX presentation.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toFix(
|
|
std::string& str,
|
|
const IncrementalRefreshLimitsBanding34& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toStr(
|
|
std::string& str,
|
|
const IncrementalRefreshSessionStatistics35& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
inline
|
|
std::string
|
|
toStr(
|
|
const IncrementalRefreshSessionStatistics35& obj)
|
|
{
|
|
std::string str;
|
|
|
|
toStr(str, obj);
|
|
|
|
return str;
|
|
}
|
|
|
|
/// Serializes object into FIX presentation.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toFix(
|
|
std::string& str,
|
|
const IncrementalRefreshSessionStatistics35& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toStr(
|
|
std::string& str,
|
|
const SnapshotFullRefresh38& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
inline
|
|
std::string
|
|
toStr(
|
|
const SnapshotFullRefresh38& obj)
|
|
{
|
|
std::string str;
|
|
|
|
toStr(str, obj);
|
|
|
|
return str;
|
|
}
|
|
|
|
/// Serializes object into FIX presentation.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toFix(
|
|
std::string& str,
|
|
const SnapshotFullRefresh38& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toStr(
|
|
std::string& str,
|
|
const InstrumentDefinitionOption41& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
inline
|
|
std::string
|
|
toStr(
|
|
const InstrumentDefinitionOption41& obj)
|
|
{
|
|
std::string str;
|
|
|
|
toStr(str, obj);
|
|
|
|
return str;
|
|
}
|
|
|
|
/// Serializes object into FIX presentation.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toFix(
|
|
std::string& str,
|
|
const InstrumentDefinitionOption41& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toStr(
|
|
std::string& str,
|
|
const IncrementalRefreshTradeSummary42& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
inline
|
|
std::string
|
|
toStr(
|
|
const IncrementalRefreshTradeSummary42& obj)
|
|
{
|
|
std::string str;
|
|
|
|
toStr(str, obj);
|
|
|
|
return str;
|
|
}
|
|
|
|
/// Serializes object into FIX presentation.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toFix(
|
|
std::string& str,
|
|
const IncrementalRefreshTradeSummary42& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toStr(
|
|
std::string& str,
|
|
const IncrementalRefreshOrderBook43& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
inline
|
|
std::string
|
|
toStr(
|
|
const IncrementalRefreshOrderBook43& obj)
|
|
{
|
|
std::string str;
|
|
|
|
toStr(str, obj);
|
|
|
|
return str;
|
|
}
|
|
|
|
/// Serializes object into FIX presentation.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toFix(
|
|
std::string& str,
|
|
const IncrementalRefreshOrderBook43& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toStr(
|
|
std::string& str,
|
|
const SnapshotFullRefreshOrderBook44& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
inline
|
|
std::string
|
|
toStr(
|
|
const SnapshotFullRefreshOrderBook44& obj)
|
|
{
|
|
std::string str;
|
|
|
|
toStr(str, obj);
|
|
|
|
return str;
|
|
}
|
|
|
|
/// Serializes object into FIX presentation.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toFix(
|
|
std::string& str,
|
|
const SnapshotFullRefreshOrderBook44& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toStr(
|
|
std::string& str,
|
|
const ChannelReset4& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
inline std::string toStr(const ChannelReset4& obj)
|
|
{
|
|
std::string str;
|
|
|
|
toStr(str, obj);
|
|
|
|
return str;
|
|
}
|
|
|
|
/// Serializes object into FIX presentation.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toFix(
|
|
std::string& str,
|
|
const ChannelReset4& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toStr(
|
|
std::string& str,
|
|
const AdminHeartbeat12& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
inline
|
|
std::string
|
|
toStr(
|
|
const AdminHeartbeat12& obj)
|
|
{
|
|
std::string str;
|
|
|
|
toStr(str, obj);
|
|
|
|
return str;
|
|
}
|
|
|
|
/// Serializes object into FIX presentation.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toFix(
|
|
std::string& str,
|
|
const AdminHeartbeat12& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toStr(
|
|
std::string& str,
|
|
const AdminLogin15& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
inline std::string toStr(const AdminLogin15& obj)
|
|
{
|
|
std::string str;
|
|
|
|
toStr(str, obj);
|
|
|
|
return str;
|
|
}
|
|
|
|
/// Serializes object into FIX presentation.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toFix(
|
|
std::string& str,
|
|
const AdminLogin15& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toStr(
|
|
std::string& str,
|
|
const AdminLogout16& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
inline std::string toStr(const AdminLogout16& obj)
|
|
{
|
|
std::string str;
|
|
|
|
toStr(str, obj);
|
|
|
|
return str;
|
|
}
|
|
|
|
/// Serializes object into FIX presentation.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toFix(
|
|
std::string& str,
|
|
const AdminLogout16& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toStr(
|
|
std::string& str,
|
|
const InstrumentDefinitionFuture54& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
inline
|
|
std::string
|
|
toStr(
|
|
const InstrumentDefinitionFuture54& obj)
|
|
{
|
|
std::string str;
|
|
|
|
toStr(str, obj);
|
|
|
|
return str;
|
|
}
|
|
|
|
/// Serializes object into FIX presentation.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toFix(
|
|
std::string& str,
|
|
const InstrumentDefinitionFuture54& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toStr(
|
|
std::string& str,
|
|
const InstrumentDefinitionSpread56& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
inline
|
|
std::string
|
|
toStr(
|
|
const InstrumentDefinitionSpread56& obj)
|
|
{
|
|
std::string str;
|
|
|
|
toStr(str, obj);
|
|
|
|
return str;
|
|
}
|
|
|
|
/// Serializes object into FIX presentation.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toFix(
|
|
std::string& str,
|
|
const InstrumentDefinitionSpread56& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toStr(
|
|
std::string& str,
|
|
const SecurityStatus30& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
inline
|
|
std::string
|
|
toStr(
|
|
const SecurityStatus30& obj)
|
|
{
|
|
std::string str;
|
|
|
|
toStr(str, obj);
|
|
|
|
return str;
|
|
}
|
|
|
|
/// Serializes object into FIX presentation.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toFix(
|
|
std::string& str,
|
|
const SecurityStatus30& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toStr(
|
|
std::string& str,
|
|
const IncrementalRefreshBook46& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
inline
|
|
std::string
|
|
toStr(
|
|
const IncrementalRefreshBook46& obj)
|
|
{
|
|
std::string str;
|
|
|
|
toStr(str, obj);
|
|
|
|
return str;
|
|
}
|
|
|
|
/// Serializes object into FIX presentation.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toFix(
|
|
std::string& str,
|
|
const IncrementalRefreshBook46& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toStr(
|
|
std::string& str,
|
|
const IncrementalRefreshDailyStatistics49& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
inline
|
|
std::string
|
|
toStr(
|
|
const IncrementalRefreshDailyStatistics49& obj)
|
|
{
|
|
std::string str;
|
|
|
|
toStr(str, obj);
|
|
|
|
return str;
|
|
}
|
|
|
|
/// Serializes object into FIX presentation.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toFix(
|
|
std::string& str,
|
|
const IncrementalRefreshDailyStatistics49& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toStr(
|
|
std::string& str,
|
|
const IncrementalRefreshLimitsBanding50& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
inline
|
|
std::string
|
|
toStr(
|
|
const IncrementalRefreshLimitsBanding50& obj)
|
|
{
|
|
std::string str;
|
|
|
|
toStr(str, obj);
|
|
|
|
return str;
|
|
}
|
|
|
|
/// Serializes object into FIX presentation.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toFix(
|
|
std::string& str,
|
|
const IncrementalRefreshLimitsBanding50& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toStr(
|
|
std::string& str,
|
|
const IncrementalRefreshSessionStatistics51& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
inline
|
|
std::string
|
|
toStr(
|
|
const IncrementalRefreshSessionStatistics51& obj)
|
|
{
|
|
std::string str;
|
|
|
|
toStr(str, obj);
|
|
|
|
return str;
|
|
}
|
|
|
|
/// Serializes object into FIX presentation.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toFix(
|
|
std::string& str,
|
|
const IncrementalRefreshSessionStatistics51& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toStr(
|
|
std::string& str,
|
|
const IncrementalRefreshVolume37& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
inline
|
|
std::string
|
|
toStr(
|
|
const IncrementalRefreshVolume37& obj)
|
|
{
|
|
std::string str;
|
|
|
|
toStr(str, obj);
|
|
|
|
return str;
|
|
}
|
|
|
|
/// Serializes object into FIX presentation.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toFix(
|
|
std::string& str,
|
|
const IncrementalRefreshVolume37& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toStr(
|
|
std::string& str,
|
|
const SnapshotFullRefresh52& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
inline
|
|
std::string
|
|
toStr(
|
|
const SnapshotFullRefresh52& obj)
|
|
{
|
|
std::string str;
|
|
|
|
toStr(str, obj);
|
|
|
|
return str;
|
|
}
|
|
|
|
/// Serializes object into FIX presentation.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toFix(
|
|
std::string& str,
|
|
const SnapshotFullRefresh52& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toStr(
|
|
std::string& str,
|
|
const QuoteRequest39& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
inline
|
|
std::string
|
|
toStr(
|
|
const QuoteRequest39& obj)
|
|
{
|
|
std::string str;
|
|
|
|
toStr(str, obj);
|
|
|
|
return str;
|
|
}
|
|
|
|
/// Serializes object into FIX presentation.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toFix(
|
|
std::string& str,
|
|
const QuoteRequest39& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toStr(
|
|
std::string& str,
|
|
const InstrumentDefinitionOption55& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
inline
|
|
std::string
|
|
toStr(
|
|
const InstrumentDefinitionOption55& obj)
|
|
{
|
|
std::string str;
|
|
|
|
toStr(str, obj);
|
|
|
|
return str;
|
|
}
|
|
|
|
/// Serializes object into FIX presentation.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toFix(
|
|
std::string& str,
|
|
const InstrumentDefinitionOption55& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toStr(
|
|
std::string& str,
|
|
const IncrementalRefreshTradeSummary48& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
inline
|
|
std::string
|
|
toStr(
|
|
const IncrementalRefreshTradeSummary48& obj)
|
|
{
|
|
std::string str;
|
|
|
|
toStr(str, obj);
|
|
|
|
return str;
|
|
}
|
|
|
|
/// Serializes object into FIX presentation.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toFix(
|
|
std::string& str,
|
|
const IncrementalRefreshTradeSummary48& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toStr(
|
|
std::string& str,
|
|
const IncrementalRefreshOrderBook47& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
inline
|
|
std::string
|
|
toStr(
|
|
const IncrementalRefreshOrderBook47& obj)
|
|
{
|
|
std::string str;
|
|
|
|
toStr(str, obj);
|
|
|
|
return str;
|
|
}
|
|
|
|
/// Serializes object into FIX presentation.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toFix(
|
|
std::string& str,
|
|
const IncrementalRefreshOrderBook47& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toStr(
|
|
std::string& str,
|
|
const SnapshotFullRefreshOrderBook53& obj);
|
|
|
|
|
|
/// Serializes object into a string.
|
|
inline
|
|
std::string
|
|
toStr(
|
|
const SnapshotFullRefreshOrderBook53& obj)
|
|
{
|
|
std::string str;
|
|
|
|
toStr(str, obj);
|
|
|
|
return str;
|
|
}
|
|
|
|
/// Serializes object into FIX presentation.
|
|
ONIXS_CMEMDH_EXPORTED
|
|
void
|
|
toFix(
|
|
std::string& str,
|
|
const SnapshotFullRefreshOrderBook53& obj);
|
|
|
|
|
|
ONIXS_CMEMDH_NAMESPACE_END
|