View · Index

XOTcl Object System

  • All classes have a common root class (::xotcl::Object)
  • The behavior (methods) of the common root class is inherited to all other classes
  • Methods can be added at any time using the methods "proc" and "instproc"
  • XOTcl classes are as well Objects, instances of a meta-class ::xotcl::Class
  • As a class provides methods to objects, a meta-class provides methods to classes