Claims
- 1. A computer-readable medium encoded with a data structure representing an Interface Definition Language source file, the data structure comprising:
- a variable-sized array of entry data structures, each entry data structure describing an entry in the source file; and
- a variable-sized array of character strings, each character string containing a line in the source file.
- 2. The computer-readable medium, as recited in claim 1, wherein each entry data structure further comprises:
- a field identifying a name of the entry;
- a field identifying a line number in the source file where the entry is located; and
- a field describing characteristics of the entry.
- 3. The computer-readable medium, as recited in claim 2, wherein if the entry is a module, the field describing characteristics of the module further comprises a variable-sized array of definitions contained within the module.
- 4. The computer-readable medium, as recited in claim 2, wherein if the entry is an interface, the field describing characteristics of the interface further comprises a structure including a variable-sized array of definitions contained within the interface and a variable-sized array of interfaces from which the interface inherits.
- 5. The computer-readable medium, as recited in claim 2, wherein if the entry is an argument to an operation, the field describing characteristics of the argument further comprises a structure containing a data type and direction of the argument.
- 6. The computer-readable medium, as recited in claim 2, wherein if the entry is a union having a plurality of fields, the field describing characteristics of the union further comprises a structure containing a discriminator of the union and a variable-sized array of the plurality of fields.
- 7. The computer-readable medium, as recited in claim 2, wherein if the entry is a data structure having at least one field, the field describing characteristics of the data structure further comprises a variable sized array of the at least one field.
- 8. The computer-readable medium, as recited in claim 2, wherein if the entry is a declaration of a constant having a value, the field describing the constant declaration further comprises a structure containing the value of the constant.
- 9. The computer-readable medium, as recited in claim 2, wherein if the entry is a string having a maximum size, the field describing the string comprises a structure containing the maximum size of the string.
- 10. The computer-readable medium, as recited in claim 2, wherein if the entry is an array having a base type and a number of dimensions, the field describing characteristics of the array further comprises a data structure containing the base type of the array and the number of dimensions in the array.
- 11. The computer-readable medium, as recited in claim 1, wherein the data structure can be transported to a file.
RELATED APPLICATIONS
The following related U.S. applications are hereby incorporated by reference: U.S. application Ser. No. 08/680,270 (attorney docket number 23896.231) entitled "Method and Apparatus for Describing an Interface Definition Language-Defined Interface, Operation, and Data Type" by A. Schofield, filed Jul. 11, 1996; U.S. application Ser. No. 08/678,681 (attorney docket number 23896.232) entitled "Method and Apparatus Using Parameterized Vectors For Converting Interface Definition Language-Defined Data Structures Into a Transport and Platform Independent Format" by A. Schofield, filed Jul. 11, 1996; U.S. application Ser. No. 08/680,203 (attorney docket number 23896.234) entitled "Method and Apparatus for Transporting Interface Definition Language-Defined Data Structures Between Heterogeneous Systems" by A. Schofield, filed Jul. 11, 1996; U.S. application Ser. No. 08/680,206 (attorney docket number 23896.235) entitled "Method and Apparatus for Performing Distributed Object Calls" by A. Schofield filed Jul. 11, 1996; U.S. application Ser. No. 08/690,202 (attorney docket number 23896.236) entitled "Method and Apparatus for Asynchronously Calling and Implementing Objects" by A. Schofield, filed Jul. 11, 1996; U.S. application Ser. No. 08/280,266 (attorney docket number 23896.237) entitled "Method and Apparatus for Performing Distributed Object Calls using Proxies and Memory Allocation" by A. Schofield filed Jul. 11, 1996.
US Referenced Citations (11)