WARNING: This is NOT an official release. As of 12/10/21 20:23, the latest release of the quickfix lib (1.15.1) does not support c++17 (the FIX::Application class has fns with dynamic exceptions). This commit upgrades to a more recent (unreleased) build which supports c++17.
41 lines
977 B
C++
41 lines
977 B
C++
#ifndef FIX50SP2_USERNOTIFICATION_H
|
|
#define FIX50SP2_USERNOTIFICATION_H
|
|
|
|
#include "Message.h"
|
|
|
|
namespace FIX50SP2
|
|
{
|
|
|
|
class UserNotification : public Message
|
|
{
|
|
public:
|
|
UserNotification() : Message(MsgType()) {}
|
|
UserNotification(const FIX::Message& m) : Message(m) {}
|
|
UserNotification(const Message& m) : Message(m) {}
|
|
UserNotification(const UserNotification& m) : Message(m) {}
|
|
static FIX::MsgType MsgType() { return FIX::MsgType("CB"); }
|
|
|
|
UserNotification(
|
|
const FIX::UserStatus& aUserStatus )
|
|
: Message(MsgType())
|
|
{
|
|
set(aUserStatus);
|
|
}
|
|
|
|
FIELD_SET(*this, FIX::NoUsernames);
|
|
class NoUsernames: public FIX::Group
|
|
{
|
|
public:
|
|
NoUsernames() : FIX::Group(809,553,FIX::message_order(553,0)) {}
|
|
FIELD_SET(*this, FIX::Username);
|
|
};
|
|
FIELD_SET(*this, FIX::UserStatus);
|
|
FIELD_SET(*this, FIX::Text);
|
|
FIELD_SET(*this, FIX::EncodedTextLen);
|
|
FIELD_SET(*this, FIX::EncodedText);
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|