Packages

In addition to the common elements, packages retain elements and attributes associated with SIDL packages. These include whether or not the package is final along with a list of the symbols contained within the package. The list of symbols consists of the tuple: name, type, and version.

For example, the XML representation of the toplevel SIDL package (i.e., sidl) is:


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Symbol PUBLIC "-//CCA//SIDL Symbol DTD v1.1//EN" "SIDL.dtd">
<Symbol>
   <SymbolName name="sidl" version="0.8.2"/>
   <Metadata date="20030320 13:29:02 PST">
      <MetadataEntry key="source-url" value="file:/home/dahlgren/RELEASE/linux_kcc/share/../../babel/runtime/sidl/sidl.sidl"/>
      <MetadataEntry key="source-line" value="40"/>
      <MetadataEntry key="babel-version" value="0.8.2"/>
   </Metadata>
   <Comment>
The &lt;code&gt;sidl&lt;/code&gt; package contains the fundamental type and interface
definitions for the &lt;code&gt;SIDL&lt;/code&gt; interface definition language.  It
defines common run-time libraries and common base classes and interfaces.
Every interface implicitly inherits from &lt;code&gt;sidl.BaseInterface&lt;/code&gt;
and every class implicitly inherits from &lt;code&gt;sidl.BaseClass&lt;/code&gt;.

   </Comment>
   <Package final="false">
      <PackageSymbol name="BaseInterface" type="interface" version="0.8.2"/>
      <PackageSymbol name="BaseClass" type="class" version="0.8.2"/>
      <PackageSymbol name="BaseException" type="class" version="0.8.2"/>
      <PackageSymbol name="DLL" type="class" version="0.8.2"/>
      <PackageSymbol name="Loader" type="class" version="0.8.2"/>
      <PackageSymbol name="ClassInfo" type="interface" version="0.8.2"/>
      <PackageSymbol name="ClassInfoI" type="class" version="0.8.2"/>
   </Package>
</Symbol>





babel-0.10.2
users_guide Last Modified 2005-03-23

http://www.llnl.gov/CASC/components
components@llnl.gov