next up previous contents index
Next: Interfaces Up: Basic Structure Previous: Common Elements   Contents   Index


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"
  "/babel/share/repository/sidl.dtd">
<Symbol>
  <SymbolName name="sidl" version="0.9.12" />
  <Metadata date="20051208 10:47:28 PST">
    <MetadataEntry key="source-url"
    value="file:/babel/runtime/sidl/sidl.sidl" />
    <MetadataEntry key="babel-version" value="0.10.51" />
    <MetadataEntry key="xml-url"
    value="/babel/share/repository/sidl-v0.9.12.xml" />
    <MetadataEntry key="source-line" value="39" />
  </Metadata>
  <Comment>The 
  <code>sidl</code>package contains the fundamental type and
  interface definitions for the 
  <code>sidl</code>interface definition language. It defines common
  run-time libraries and common base classes and interfaces. Every
  interface implicitly inherits from 
  <code>sidl.BaseInterface</code>and every class implicitly
  inherits from 
  <code>sidl.BaseClass</code>.</Comment>
  <Package final="false">
    <PackageSymbol name="BaseInterface" type="interface"
    version="0.9.12" />
    <PackageSymbol name="BaseClass" type="class"
    version="0.9.12" />
    <PackageSymbol name="io" type="package" version="0.9.12" />
    <PackageSymbol name="BaseException" type="interface"
    version="0.9.12" />
    <PackageSymbol name="RuntimeException" type="interface"
    version="0.9.12" />
    <PackageSymbol name="SIDLException" type="class"
    version="0.9.12" />
    <PackageSymbol name="PreViolation" type="class"
    version="0.9.12" />
    <PackageSymbol name="PostViolation" type="class"
    version="0.9.12" />
    <PackageSymbol name="InvViolation" type="class"
    version="0.9.12" />
    <PackageSymbol name="Scope" type="enum" version="0.9.12" />
    <PackageSymbol name="Resolve" type="enum" version="0.9.12" />
    <PackageSymbol name="DLL" type="class" version="0.9.12" />
    <PackageSymbol name="Finder" type="interface"
    version="0.9.12" />
    <PackageSymbol name="DFinder" type="class" version="0.9.12" />
    <PackageSymbol name="Loader" type="class" version="0.9.12" />
    <PackageSymbol name="ClassInfo" type="interface"
    version="0.9.12" />
    <PackageSymbol name="ClassInfoI" type="class"
    version="0.9.12" />
    <PackageSymbol name="MemoryAllocationException" type="class"
    version="0.9.12" />
    <PackageSymbol name="CastException" type="class"
    version="0.9.12" />
    <PackageSymbol name="LangSpecificException" type="class"
    version="0.9.12" />
    <PackageSymbol name="rmi" type="package" version="0.9.12" />
  </Package>
</Symbol>





babel-0.99.0
users_guide Last Modified 2006-06-27

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