OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [itcl/] [itcl/] [doc/] [itcl_info.n] - Blame information for rev 1773

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 578 markom
'\"
2
'\" Copyright (c) 1993-1998  Lucent Technologies, Inc.
3
'\"
4
'\" See the file "license.terms" for information on usage and redistribution
5
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
6
'\"
7
'\" RCS: $Id: itcl_info.n,v 1.1.1.1 2002-01-16 10:24:46 markom Exp $
8
'\"
9
.so man.macros
10
.TH itcl_info n 3.0 itcl "[incr\ Tcl]"
11
.BS
12
'\" Note:  do not modify the .SH NAME line immediately below!
13
.SH NAME
14
itcl_info \- query info regarding classes and objects (obsolete)
15
.SH SYNOPSIS
16
\fBitcl_info classes ?\fIpattern\fR?
17
.br
18
\fBitcl_info objects ?\fIpattern\fR? ?\fB-class \fIclassName\fR? ?\fB-isa \fIclassName\fR?
19
.BE
20
 
21
.SH DESCRIPTION
22
.PP
23
This command is considered obsolete, but is retained for
24
backward-compatibility with earlier versions of \fB[incr\ Tcl]\fR.
25
It has been replaced by the "\fBinfo classes\fR" and "\fBinfo objects\fR"
26
commands, which should be used for any new development.
27
 
28
.PP
29
The following commands are available in the global namespace to
30
query information about classes and objects that have been created.
31
.TP
32
\fBitcl_info classes ?\fIpattern\fR?
33
Returns a list of classes available in the current namespace context.
34
.VS
35
If a class belongs to the current namespace context, its simple name
36
is reported; otherwise, if a class is imported from another namespace,
37
its fully-qualified name is reported.
38
.VE
39
.sp
40
If the optional \fIpattern\fR is specified, then the reported names
41
are compared using the rules of the "\fBstring match\fR" command,
42
and only matching names are reported.
43
.TP
44
\fBitcl_info objects ?\fIpattern\fR? ?\fB-class \fIclassName\fR? ?\fB-isa \fIclassName\fR?
45
Returns a list of objects available in the current namespace context.
46
.VS
47
If an object belongs to the current namespace context, its simple name
48
is reported; otherwise, if an object is imported from another namespace,
49
its fully-qualified access command is reported.
50
.VE
51
.sp
52
If the optional \fIpattern\fR is specified, then the reported names
53
are compared using the rules of the "\fBstring match\fR" command,
54
and only matching names are reported.
55
If the optional "\fB-class\fR" parameter is specified, this list is
56
restricted to objects whose most-specific class is \fIclassName\fR.
57
If the optional "\fB-isa\fR" parameter is specified, this list is
58
further restricted to objects having the given \fIclassName\fR
59
anywhere in their heritage.
60
 
61
.SH KEYWORDS
62
class, object, object-oriented

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.