[This message was posted by rupal shah of self <[email protected]> to the "FAST Protocol" discussion forum at http://fixprotocol.org/discuss/46. You can reply to it on-line at http://fixprotocol.org/discuss/read/f380a9c7 - PLEASE DO NOT REPLY BY MAIL.]
can some one clarify my doubts please. Thanks, Rup > I am new to FAST and want to define the template inheritance. I have > following questions > 1. Do we need to define the "global" dictionary template ? my > understanding: I dont think so ! > > 2. do we need to define the reference template by itself or the > FAST code should build by itself. my understanding: Fast code > should by itself > > 3. If I want to use only copy code and increment code operators. Is > there any difference between FAST 1.0 and 1.1 ? my understanding: for > these two operator there is no change in the updated spec > > 4. Can someone clarify my understanding of following template > definition ? > > > (template name=”T1” ) (typeRef name=”t4”) (string name=”Field1” > presence=”mandatory”) (copy dictionary=”global”) (/string) (string > name=”Field2” presence=”mandatory”) (copy dictionary=”global”) (/string) > (string name=”Field3” presence=”mandatory”) (copy dictionary=”type”) > (/string) (string name=”Field4” presence=”mandatory”) (copy > dictionary=”template”) (/string) (/template) > > (template name=”T2” ) (typeRef name=”t4”) (string name=”Field2” > presence=”mandatory”) (copy dictionary=”global”) (/string) (string > name=”Field3” presence=”mandatory”) (copy dictionary=”global”) (/string) > (string name=”Field4” presence=”mandatory”) (copy dictionary=”type”) > (/string) (string name=”Field5” presence=”mandatory”) (copy > dictionary=”template”) (/string) (/template) > > (template name=”T3”) (typeRef name=”t4”) (string name=”Field3” > presence=”mandatory”) (copy dictionary=”global”) (/string) (string > name=”Field4” presence=”mandatory”) (copy dictionary=”global”) (/string) > (string name=”Field5” presence=”mandatory”) (copy dictionary=”type”) > (/string) (string name=”Field6” presence=”mandatory”) (copy > dictionary=”template”) (/string) (/template) > > (template name=”T3”) (typeRef name=”t4”) (string name=”Field4” > presence=”mandatory”) (copy dictionary=”global”) (/string) (string > name=”Field5” presence=”mandatory”) (copy dictionary=”global”) (/string) > (string name=”Field6” presence=”mandatory”) (copy dictionary=”type”) > (/string) (string name=”Field7” presence=”mandatory”) (copy > dictionary=”template”) (/string) (/template) > > Following is my understanding is: Template1: > T1.field1 global > T2.field2 global > T3.field3 t4 > T4.field4 T1 > > Template2: > T5.field2 global > T6.field3 global > T7.field4 t4 > T8.field5 T2 > > Template3: > T9.field3 global > T10.field4 global > T11.field5 t4 > T12.field6 T3 > > Template4: > T13.field4 global > T14.field5 global > T15.field6 t4 > T16.field7 T4 > > > 5. In the above example if I use templateRef instead of typeRef what is > the difference ? my understanding : nothing ! [You can unsubscribe from this discussion group by sending a message to mailto:[email protected]] -- You received this message because you are subscribed to the Google Groups "Financial Information eXchange" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/fix-protocol?hl=en.
