Version 2 of TclOO Properties

Updated 2015-04-10 14:52:22 by sdw

This page describes an upcoming enhancement to TclOO: Property tracking. Please stay tuned.

The concept: Adding information that is tracked by class that allows the developer to embed data inside of classes

New tools:

info class property class

This method allows access to this class. Arguments that follow are the same as allowed by the "dict" command.

    :: '''get''' ''field ?field...?''

Return a value for a property, or die trying.

getnull field ?field...?

Return a value for a property, or an empty list if the value does not exist.

exists field ?field...?

Return true if a property exists

set field ?field...? value

Add/modify a property

info object property object