{{Quickfixn}} Copy Constructor or Clone

Chris Busbey cbusbey at connamara.com
Fri May 4 07:12:29 PDT 2012


Hi Juan,

As of the current codebase, the base QuickFix::Message has a copy
constructor defined, but the generated child classes (e.g.,
Quickfix::FIX42::ExecutionReport) do not.  Currently it is possible to
iterate through the field map of a given message and set the values of the
copied message.  If this is a feature you'd like, please add it to the
issues list (https://github.com/connamara/quickfixn/issues).  And as
always, pull requests welcome.

Chris.

On Thu, May 3, 2012 at 3:18 PM, Juan Manuel Truppia <jmtruppia at gmail.com>wrote:

> Is there any way to clone a message? I don't see a copy constructor or
> clone or memberwise clone available
>
> Thanks!
>
> _______________________________________________
> Quickfixn mailing list
> Quickfixn at lists.quickfixn.com
> http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com
>
>


-- 
Chris Busbey
Connamara Systems, LLC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20120504/46b0a1ea/attachment-0002.htm>


More information about the Quickfixn mailing list