12345678910111213141516171819202122232425262728293031323334353637383940 |
- #ifndef FIX44_USERREQUEST_H
- #define FIX44_USERREQUEST_H
- #include "Message.h"
- namespace FIX44
- {
- class UserRequest : public Message
- {
- public:
- UserRequest() : Message(MsgType()) {}
- UserRequest(const FIX::Message& m) : Message(m) {}
- UserRequest(const Message& m) : Message(m) {}
- UserRequest(const UserRequest& m) : Message(m) {}
- static FIX::MsgType MsgType() { return FIX::MsgType("BE"); }
- UserRequest(
- const FIX::UserRequestID& aUserRequestID,
- const FIX::UserRequestType& aUserRequestType,
- const FIX::Username& aUsername )
- : Message(MsgType())
- {
- set(aUserRequestID);
- set(aUserRequestType);
- set(aUsername);
- }
- FIELD_SET(*this, FIX::UserRequestID);
- FIELD_SET(*this, FIX::UserRequestType);
- FIELD_SET(*this, FIX::Username);
- FIELD_SET(*this, FIX::Password);
- FIELD_SET(*this, FIX::NewPassword);
- FIELD_SET(*this, FIX::RawDataLength);
- FIELD_SET(*this, FIX::RawData);
- };
- }
- #endif
|