What is idl2/13/2023 ![]() Namespace ::= ( 'namespace' ( NamespaceScope Identifier ) ) The namespace scope indicates which language the namespace applies to a scope of ‘*’ indicates that the namespace applies to all target languages. the type definitions in this file will be declared in for the target languages. CppInclude ::= 'cpp_include' LiteralĪ namespace declares which namespaces/package/module/etc. Include ::= 'include' LiteralĪ C++ include adds a custom C++ include to the output of the C++ code generator for this Thrift document. Header ::= Include | CppInclude | NamespaceĪn include makes all the symbols from another file visible (with a prefix) and adds corresponding include statements into the code generated for this Thrift document. Document ::= Header* Definition*Ī header is either a Thrift include, a C++ include, or a namespace declaration. ![]() DocumentĮvery Thrift document contains 0 or more headers followed by 0 or more definitions. 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 Thrift Types.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |