Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

itcl_info(n) [redhat man page]

itcl_info(n)							    [incr Tcl]							      itcl_info(n)

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 namespace 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 current namespace context, its sim- ple 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 command 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-spe- cific class is className. If the optional "-isa" parameter is specified, this list is further restricted to objects having the given className anywhere in their heritage. KEYWORDS
class, object, object-oriented itcl 3.0 itcl_info(n)

Check Out this Related Man Page

find(n) 							    [incr Tcl]								   find(n)

__________________________________________________________________________________________________________________________________________________

NAME
find - search for classes and objects SYNOPSIS
itcl::find option ?arg arg ...? _________________________________________________________________ DESCRIPTION
The find command is used to find classes and objects that are available in the current interpreter. Classes and objects are reported first in the active namespace, then in all other namespaces in the interpreter. The option argument determines what action is carried out by the command. The legal options (which may be abbreviated) are: find classes ?pattern? Returns a list of [incr Tcl] classes. Classes in the current namespace are listed first, followed by classes in all other names- paces in the interpreter. 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 a class resides in the current namespace context, this command reports its simple name--without any qualifiers. However, if the pattern contains :: qualifiers, or if the class resides in another context, this command reports its fully-qualified name. There- fore, you can use the following command to obtain a list where all names are fully-qualified: itcl::find classes ::* find objects ?pattern? ?-class className? ?-isa className? Returns a list of [incr Tcl] objects. Objects in the current namespace are listed first, followed by objects in all other names- paces in the interpreter. 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 restricted to objects having the given className anywhere in their heritage. If an object resides in the current namespace context, this command reports its simple name--without any qualifiers. However, if the pattern contains :: qualifiers, or if the object resides in another context, this command reports its fully-qualified name. Therefore, you can use the following command to obtain a list where all names are fully-qualified: itcl::find objects ::* KEYWORDS
class, object, search, import itcl 3.0 find(n)
Man Page