say I want to format my fix message received in a XML form ( not FIXML ! ) but kind of like the spec description, for example like that
<message name="Heartbeat" msgcat="admin" msgtype="0">
<field name="TestReqID" required="N" />
</message>
and in my output I need to have a c++ struct or a class called HeartbeatMsg whose attribute are its own fields.
So after parsing my XML file, I want to stock those messages parsed into an object that I can call later by a printer or formatting class that take my message object and write it into a file.
so I thought this message object that I want to instantiate maybe I can create it as a new class that inherit from the message class in the QuickFix library, so my question is :
could I do it? because I read the QuickFix message and it's loaded with functions that can be used for more than describing the message but also for extracting it, serializing it from a stream input.
so although my need is far away from that, can I still use this classe for a simple formatting.