[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/b1f2a43d - PLEASE DO
NOT REPLY BY MAIL.]
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
T1.field2 global
T1.field3 t4
T1.field4 T1
Template2:
T2.field2 global
T2.field3 global
T2.field4 t4
T2.field5 T2
Template3:
T3.field3 global
T3.field4 global
T3.field5 t4
T3.field6 T3
Template4:
T4.field4 global
T4.field5 global
T4.field6 t4
T4.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.