Files
2017-10-15 17:59:31 -04:00

35 lines
800 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::Username);
FIELD_SET(*this, FIX::UserStatus);
FIELD_SET(*this, FIX::Text);
FIELD_SET(*this, FIX::EncodedTextLen);
FIELD_SET(*this, FIX::EncodedText);
};
}
#endif