Dear Wiki user, You have subscribed to a wiki page or wiki category on "Thrift Wiki" for change notification.
The "ThriftIDL" page has been changed by RogerMeier. http://wiki.apache.org/thrift/ThriftIDL?action=diff&rev1=20&rev2=21 -------------------------------------------------- = Introduction = - The Thrift interface definition language (IDL) allows for the definition of Thrift types. A Thrift IDL file is processed by the Thrift code generator to produce code for the various target languages to support the defined structs and services in the IDL file. + The Thrift interface definition language (IDL) allows for the definition of ThriftTypes. A Thrift IDL file is processed by the Thrift code generator to produce code for the various target languages to support the defined structs and services in the IDL file. = Description = @@ -186, +186 @@ * [[http://svn.apache.org/repos/asf/incubator/thrift/trunk/test/ThriftTest.thrift | ThriftTest.thrift]] used by the Thrift TestFramework * Thrift [[http://svn.apache.org/repos/asf/incubator/thrift/trunk/tutorial/ | tutorial ]] = To Do/Questions = - Initialization of BaseType's for all Languages? + Initialization of Base Types for all Languages? - * Do all Languages initialize them to 0, bool=flase and string='' type? or null, undefined? + * Do all Languages initialize them to 0, bool=false and string=""? or null, undefined? Why does position of {{{CppType}}} vary between {{{SetType}}} and {{{ListType}}}? - * std::set does sort the elements automatically, that's the design. see http://www.cplusplus.com/reference/stl/set/ for further details + * std::set does sort the elements automatically, that's the design. see ThriftTypes or http://www.cplusplus.com/reference/stl/set/ for further details * The question is, how other languages are doing that? What about custom objects, do they have a Compare function the set the order correctly? Why can't {{{DefinitionType}}} be the same as {{{FieldType}}} (ie: include {{{Identifier}}})?
