NAME
itcl_info - query info regarding classes and objects
(obsolete)
SYNOPSIS
itcl_info classes ?pattern?
itcl_info objects ?pattern? ?-class className? ?-isa
className?
_________________________________________________________________
DESCRIPTION
This command is considered obsolete, but is retained for
backward-compatibility with earlier versions of
[incr Tcl]. It has been replaced by the "find classes"
and "find objects" commands, which should be used for any
new development.
The following commands are available in the global names
pace to query information about classes and objects that
have been created.
itcl_info classes ?pattern?
Returns a list of classes available in the current
namespace context. If a class belongs to the cur |
rent namespace context, its simple name is |
reported; otherwise, if a class is imported from |
another namespace, its fully-qualified name is |
reported.
If the optional pattern is specified, then the
reported names are compared using the rules of the
"string match" command, and only matching names are
reported.
itcl_info objects ?pattern? ?-class className? ?-isa
className?
Returns a list of objects available in the current
namespace context. If an object belongs to the |
current namespace context, its simple name is |
reported; otherwise, if an object is imported from |
another namespace, its fully-qualified access com |
mand is reported.
If the optional pattern is specified, then the
reported names are compared using the rules of the
"string match" command, and only matching names are
reported. If the optional "-class" parameter is
specified, this list is restricted to objects whose
most-specific class is className. If the optional
"-isa" parameter is specified, this list is further
anywhere in their heritage.
KEYWORDS
class, object, object-oriented
Man(1) output converted with
man2html