/usr/include/quickfix/fix42/Advertisement.h is in libquickfix-dev 1.14.4+dfsg-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 | #ifndef FIX42_ADVERTISEMENT_H
#define FIX42_ADVERTISEMENT_H
#include "Message.h"
namespace FIX42
{
class Advertisement : public Message
{
public:
Advertisement() : Message(MsgType()) {}
Advertisement(const FIX::Message& m) : Message(m) {}
Advertisement(const Message& m) : Message(m) {}
Advertisement(const Advertisement& m) : Message(m) {}
static FIX::MsgType MsgType() { return FIX::MsgType("7"); }
Advertisement(
const FIX::AdvId& aAdvId,
const FIX::AdvTransType& aAdvTransType,
const FIX::Symbol& aSymbol,
const FIX::AdvSide& aAdvSide,
const FIX::Shares& aShares )
: Message(MsgType())
{
set(aAdvId);
set(aAdvTransType);
set(aSymbol);
set(aAdvSide);
set(aShares);
}
FIELD_SET(*this, FIX::AdvId);
FIELD_SET(*this, FIX::AdvTransType);
FIELD_SET(*this, FIX::AdvRefID);
FIELD_SET(*this, FIX::Symbol);
FIELD_SET(*this, FIX::SymbolSfx);
FIELD_SET(*this, FIX::SecurityID);
FIELD_SET(*this, FIX::IDSource);
FIELD_SET(*this, FIX::SecurityType);
FIELD_SET(*this, FIX::MaturityMonthYear);
FIELD_SET(*this, FIX::MaturityDay);
FIELD_SET(*this, FIX::PutOrCall);
FIELD_SET(*this, FIX::StrikePrice);
FIELD_SET(*this, FIX::OptAttribute);
FIELD_SET(*this, FIX::ContractMultiplier);
FIELD_SET(*this, FIX::CouponRate);
FIELD_SET(*this, FIX::SecurityExchange);
FIELD_SET(*this, FIX::Issuer);
FIELD_SET(*this, FIX::EncodedIssuerLen);
FIELD_SET(*this, FIX::EncodedIssuer);
FIELD_SET(*this, FIX::SecurityDesc);
FIELD_SET(*this, FIX::EncodedSecurityDescLen);
FIELD_SET(*this, FIX::EncodedSecurityDesc);
FIELD_SET(*this, FIX::AdvSide);
FIELD_SET(*this, FIX::Shares);
FIELD_SET(*this, FIX::Price);
FIELD_SET(*this, FIX::Currency);
FIELD_SET(*this, FIX::TradeDate);
FIELD_SET(*this, FIX::TransactTime);
FIELD_SET(*this, FIX::Text);
FIELD_SET(*this, FIX::EncodedTextLen);
FIELD_SET(*this, FIX::EncodedText);
FIELD_SET(*this, FIX::URLLink);
FIELD_SET(*this, FIX::LastMkt);
FIELD_SET(*this, FIX::TradingSessionID);
};
}
#endif
|