62 explicit Message(
size_t expectedMessageSize = DefaultExpectedMessageSize);
79 Message(
const char * type,
const Dictionary & dictionary,
size_t expectedMessageSize = DefaultExpectedMessageSize);
114 void senderCompId(
const std::string &);
122 void targetCompId(
const std::string &);
128 void * userData()
const;
131 void userData(
void * data);
146 void validate()
const;
184 char delimiter = 0x1,
197 char delimiter = 0x1,
209 toXml(std::string & str)
const;
219 toJson(std::string & str)
const;
222 void updateBodyLengthAndCheckSum();
228 void copyFields(
const Message &);
240 const char * rawMessage,
241 size_t rawMessageSize,
255 const char * rawMessage,
256 size_t rawMessageSize,
272 const char * rawMessage,
273 size_t rawMessageSize,
289 const char * rawMessage,
290 size_t rawMessageSize,
305 const char * rawMessage,
306 size_t rawMessageSize,
319 friend class MessageWrapper;
320 friend class MessageOperator;
326 virtual void userDataImpl(
void * data);
328 unsigned char impl_[6 *
sizeof(size_t)];
329 unsigned char allocator_[4 *
sizeof(size_t)];
331 static const size_t DefaultExpectedMessageSize = 10240;
333 void construct(
size_t expectedMessageSize = DefaultExpectedMessageSize);
345 toString(str, delimiter, flags);
ONIXS_FIXENGINE_API std::ostream & operator<<(std::ostream &os, const Group &group)
Stream output.
Encapsulates primary operations over the collection of FIX fields like a FIX message and a repeating ...
unsigned MessageStringingFlags
The collection of message stringing flags.
#define ONIXS_FIXENGINE_API
Implements a concept of a read-only reference to a FIX field value.
std::string toString(char delimiter=0x1, MessageStringingFlags flags=MessageStringingFlag::IncludeFieldTagNumber) const
Returns the string representation of the message using the given delimiter and additional control fla...
Field tag numbers are included during the serialization.
unsigned MessageValidationFlags
The collection of message validation flags.
Identifies the FIX messages dictionary.
virtual void clear()=0
Clears the storage.
bool operator==(const FieldValueRef &ref, const std::string &str)
The helper class to represent a raw FIX message.
unsigned int SequenceNumber
Alias for the sequence number.
Encapsulates operations over a FIX Message.
unsigned MessageParsingFlags
The collection of message parsing flags.
bool operator!=(const FieldValueRef &ref, const std::string &str)