Next:
Introduction
Up:
Babel Users' Guide
Previous:
Shared Software
Contents
Preface
Babel in a Nutshell
Scope of this Manual
Getting the Software
Conventions
We Appreciate Your Feedback
Acknowledgments
Project Alumni
Alpha Testers
Shared Software
Introduction
Babel Addresses a Problem
SIDL: The Interoperable Feature Set
How Babel is Used
Deployment of Babel Enabled Libraries
Beyond Babel's Scope
Hello World Tutorial
Writing the SIDL File
Writing the Implementation
Writing the Client
Final Remarks
Basics: Interfaces, Classes and Arrays
SIDL Files
Comments and Doc-Comments
Packages, Versions, and Import
XML Repositories
Babel Command Line
Command Line Options
Long and Short Forms
Examples
Fundamental Types
Numeric Types
Strings
Opaque
Enumerations
Objects
Babel's Object Model
Methods on Objects
Parameter Passing
Method Overloading
SIDL Base Classes
Arrays
SIDL Language Features
Independent and borrowed arrays
The Life of an Array
The Language Bindings
The Array API
The C Macro API
The C Data Structure
Summary
Reserved Words
Suggested Things To Avoid
Advanced Topics
Dynamic vs. Static Linkage
Linkers and Position Independent Code (PIC)
Compiler Flags for Babel
Exceptions
SIDL
C++ Bindings
SIDL C++ Header Suffix
SIDL's Main C++ Header File
Basic SIDL to C++ Type Mappings
Calling Methods from C++
Implementing SIDL Classes in C++
Accessing SIDL Arrays From C++
C Bindings
Header files
SIDL to C Type Mappings
Mapping for classes, interfaces and arrays
Calling SIDL methods from C
Implicitly defined methods
Invoking BABEL to generate C bindings
Invoking BABEL to generate C implementations
Python Bindings
How to Create a SIDL Object in Python
How to Cast SIDL Objects in Python
How to Call Methods from Python
Building Python Extension Modules
Setting up to Run Python
Notes
How to Implement SIDL Objects in Python
Java Bindings
FORTRAN 77 Bindings
Basic Types
Calling Methods From FORTRAN 77
Implementing Classes in FORTRAN 77
Accessing SIDL Arrays From FORTRAN 77
FORTRAN 77 objects with state
FORTRAN 90 Bindings
Basic Types
Calling Methods From FORTRAN 90
Implementing Classes in FORTRAN 90
Accessing SIDL Arrays From FORTRAN 90
FORTRAN 90 objects with state
SIDL Bindings
SIDL Runtime Library
Building and Deploying Software
Troubleshooting
Compilation Consistency is Key
Bibliography
About this document ...
babel-0.8.0
users_guide Last Modified 2003-01-14
http://www.llnl.gov/CASC/components
components@llnl.gov