How are Tcl namespaces related to the classes and objects that Toe recognizes?
Each instantiation of a class corresponds to a fully populated Tcl namespace. Toe creates and maintains an object template for each class, based on a class specification, and then populates a namespace with the template, and proper substitutions, in order to create an instance. Toe also adds tailored namespace ensembles, so that object commands properly reference related namespaces and runtime services. The organization of namespaces is implementation-dependent, but all namespaces managed by Toe are somewhere under the root namespace, ::toe.
Related Questions
- The object serialization classes are stream oriented. How do I write objects to a random access file?
- The object serialization classes are stream oriented. How do I write objects to a random access file?
- How are Tcl namespaces related to the classes and objects that Toe recognizes?
- How do I use namespaces classes, functions, or constants in their own namespace?
- Where can I find out about classes, weapons, objects and map strategies?
- Where can I find out about classes, weapons, objects and map strategies?