Tcl Library Source Code
tool::dict_ensemble - Standardized OO Framework for development
Not logged in
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2018 Conference, Houston/TX, US, Oct 15-19
Send your abstracts to
or submit via the online form by Aug 20.

[ Main Table Of Contents | Table Of Contents | Keyword Index | Categories | Modules | Applications ]

tool::dict_ensemble(n) 0.4.2 tcllib "Standardized OO Framework for development"


tool::dict_ensemble - Dictionary Tools


  • package require tool ?0.4.2?


The dict_ensemble command is a keyword added by tool. It defines a public variable (stored as a dict), and an access function to manipulated and access the values stored in that dict.

object ensemble add field

] value value ...] Adds elements to a list maintained with the field leaf of the dict maintained my this ensemble. Declares a variable name which will be initialized as an array, populated with contents for objects of this class, as well as any objects for classes which are descendents of this class.


Sean Woods

Bugs, Ideas, Feedback

This document, and the package it describes, will undoubtedly contain bugs and other problems. Please report such in the category tool of the Tcllib Trackers. Please also report any ideas for enhancements you may have for either package and/or documentation.

When proposing code changes, please provide unified diffs, i.e the output of diff -u.

Note further that attachments are strongly preferred over inlined patches. Attachments can be made by going to the Edit form of the ticket immediately after its creation, and then using the left-most button in the secondary navigation bar.