XOTcl − Tutorial
1.3.7
Gustaf Neumann and Uwe ZdunXOTcl − Tutorial
1XOTcl − Tutorial
XOTcl − Tutorial − Index
Version: 1.3.0
• Introduction
¤ Language Overview
¤ Introductory Overview Example: Soccer Club
• Object and Class System
• Basic Functionalities
¤ Objects
Data on Objects
Methods for Objects
Information about Objects
¤ Classes
Creating Classes and Deriving Instances
Methods Defined in Classes
Information about Classes
Inheritance
Destruction of Classes
Method Chaining
¤ Dynamic Class and Superclass Relationships
¤ Meta−Classes
¤ Create, Destroy, and Recreate Methods
¤ Non−positional Arguments
• Message Interception Techniques
¤ Filter
¤ Mixin Classes
¤ Callstack Information
¤ Precedence Order
¤ Guards for Filters and Mixins
¤ Querying, Setting, Altering Filter and Mixin Lists
• Method Forwarding
• Nested Classes and Dynamic Object Aggregations
• Assertions
• AdditionalFunctionalities
¤ Abstract Classes
¤ Parameter
¤ Automatic Name Creation
¤ Meta−Data
• Integrating XOTcl Programs with C Extensions (such as Tk)
• References
2XOTcl − Tutorial
Introduction
Language Overview
XOTcl [Neumann and Zdun 2000a] is an extension to the object−oriented scripting language OTcl [Wetherall
and Lindblad 1995] which itself extends Tcl [Ousterhout 1990] (Tool Command Language) with
object−orientation. XOTcl is a value−added replacement for OTcl and does not require OTcl to compile.
XOTcl runs in the tclsh and provides a few extension commands. These are offered ...
Voir