Component |
Type |
Program |
Package |
Procedure |
Class |
Method |
Description |
Default |
Use |
Comments |
(program) |
unqualifiedname |
X |
|
|
|
|
Program name |
|
|
|
(package) |
unqualifiedname |
|
X |
|
|
|
Package name |
|
|
|
(procedure) |
commandname |
|
|
X |
|
|
Procedure name |
|
|
The name must be fully qualified if part of package and unqualified if part of class |
(class) |
name |
|
|
|
X |
|
Class name |
|
|
The name must be fully qualified if part of package |
(method) |
unqualifiedcommandname |
|
|
|
|
X |
Method name |
|
|
|
version |
version |
X |
X |
X |
X |
X |
Item version |
1.0 |
Informational except for packages where it is used by the package handling mechanism and for programs where it is displayed by the program '--version' command line option |
|
project |
string |
X |
X |
X |
X |
|
Item project |
|
Informational |
|
synopsis |
string |
X |
X |
X |
X |
X |
Item one line description |
|
Informational |
Mandatory for all items except for class constructors and destructors for which it is not allowed |
module |
choice |
|
X |
|
|
|
Package module |
definition |
Informational |
One of 'definition', 'test', 'extra' or 'demonstration' |
overview |
string |
X |
X |
X |
X |
X |
Item multi-line overview |
|
Informational |
|
usage |
string |
X |
X |
|
X |
|
Item usage message |
|
Informational |
|
exitstatus |
string |
X |
|
|
|
|
Program exit status |
|
Informational |
|
api |
string |
|
X |
|
X |
|
Item API |
|
Informational |
|
help |
string |
X |
|
|
|
|
Program command line help message |
|
Displayed by the program '--help' command line option |
|
exportedcommands |
qualifiedname-list |
|
X |
|
|
|
Package list of exported commands |
|
Must include all package commands whose access is 'exported' (see -access) |
|
aliases |
list |
|
X |
|
|
|
Package list of aliases |
|
Must include all aliased package commands (see -alias) |
Alias are given in the format {aliasName aliasedCommand} |
access |
choice |
|
|
X |
|
X |
Item access mode |
public' for commands unless their namespace is private (those whose name match 'Priv*') case in which it is 'private'. 'public' for methods except for destructors, for which it is 'protected' |
exported' procedures are exported from their namespace. 'exported' package commands must appear in the package exported commands list (see -exportedcommands). 'private' procedures can live in private namespaces only (those whose name match 'Priv*). for methods, the [incr Tcl] access modes are honored |
One of 'public', 'private' or 'exported' for procedures. One of 'public', 'protected' or 'private' for methods |
alias |
name |
|
|
X |
|
|
Command alias |
|
The alias is created. Aliased package commands must appear in the package aliases list (see -aliases) |
|
arguments |
extendedarg-list |
|
|
X |
|
X |
Item arguments |
|
Used as command or method arguments |
|
returns |
string |
|
|
X |
|
X |
Item return value |
|
Informational |
|
parseflags |
extbool |
|
|
X |
|
X |
Whether to enable flag parsing or delegate it to the user |
true |
Enables or disables this item automatic flag arguments parsing |
|
checktype |
extbool |
|
|
X |
|
X |
Whether to enable argument run-time type checking |
false |
Enables or disables this item argument run-time type checking |
|
keywords |
word-list |
X |
X |
X |
X |
X |
Item keywords |
|
Informational |
|
examples |
string |
X |
X |
X |
X |
X |
Examples on how to use the item |
|
Informational except for programs where it is displayed by the program '--examples' command line option |
|
paradigm |
choice |
|
X |
|
|
|
Package paradigm |
procedural |
Only packages whose paradigm is 'object' can contain class definitions |
One of 'procedural' or 'object' |
namespaces |
namespace-list |
|
X |
|
|
|
Package namespaces |
|
The package namespaces are created/deleted upon declaring/undeclaring a package. All package items (classes, commands, …) must live in the package namespaces |
|
classtype |
type |
|
|
|
X |
|
Class type name |
|
A type is created whose allowed values are objects of the class |
|
stereotype |
choice |
|
|
|
X |
|
Class stereotype |
multiobject |
singleton' classes are given a default constructor which allows to instantiate a single error. 'abstract' classes are given a constructor which does not allow to create any object for the class |
One of 'multiobject', 'abstract' or 'singleton' |
extends |
qualifiedname-list |
|
|
|
X |
|
List of classes from which this class inherits |
|
The class inherits from the given classes |
|
error |
declaration |
X |
X |
|
X |
|
Error declaration |
|
Used to declare the error |
See SimpleDevLib errors |
type |
declaration |
X |
X |
|
|
|
Type declaration |
|
Used to declare the type |
See SimpleDevLib types |
class |
declaration |
|
X |
|
|
|
Class declaration |
|
Used to declare the class |
|
variable |
declaration |
X |
X |
|
X |
|
Variable declaration |
|
Used to declare the variable |
|
attribute |
declaration |
|
|
|
X |
|
Class attribute declaration |
|
Used to declare the attribute |
See SimpleDevLib variables, package options, attributes and [incr Tk] options |
itkoption |
declaration |
|
|
|
X |
|
[incr Tk] option declaration |
|
Used to declare the [incr Tk] option |
See SimpleDevLib variables, package options, attributes and [incr Tk] options |
itkcomponent |
declaration |
|
|
|
X |
|
[incr Tk] item declaration |
|
Used to declare the [incr Tk] item |
See SimpleDevLib [incr Tk] components |
command |
declaration |
X |
X |
|
X |
|
Command declaration |
|
Used to declare the command |
|
method |
declaration |
|
|
|
X |
|
Class method declaration |
|
Used to declare the method |
|
option |
declaration |
X |
X |
|
|
|
Package option or program command line option declaration |
|
Used to declare the options, used in turn by the configure and cget commands for packages, or as part of the command line option handling for programs |
See SimpleDevLib variables, package options, attributes and [incr Tk] options for package options or SimpleDevLib program options for program options |
optionusage |
list |
X |
|
|
|
|
Program command line options usage |
|
Used to specify the program command line options usage |
|
requisites |
packagerequisite-list |
X |
X |
|
|
|
Item package requisites |
|
The package requisites are required |
|
assumptions |
string |
X |
X |
X |
X |
X |
Item assumptions |
|
Informational |
|
resources |
string |
X |
X |
X |
X |
X |
Item required resources |
|
Informational |
|
limitations |
string |
X |
X |
X |
X |
X |
Item limitations |
|
Informational |
|
effects |
string |
|
X |
X |
X |
X |
Item effects outside its scope |
|
Informational |
Item effects outside its scope, such as variables modified thorugh upvar, those of evaluated scripts, or items (command, variables, namespaces, aliases, ...) creations or deletions |
details |
string |
X |
X |
X |
X |
X |
Item implementation details |
|
Informational |
|
references |
string |
X |
X |
X |
X |
X |
Item references |
|
Informational |
|
remarks |
string |
X |
X |
X |
X |
X |
Item remarks |
|
Informational |
|
todo |
string |
X |
X |
X |
X |
X |
Item to do list |
|
Informational |
|
cmid |
string |
X |
X |
|
|
|
Item configuration management identification |
|
Informational |
|
sprs |
string |
X |
X |
|
|
|
Item software problem reports |
|
Informational |
|
smrs |
string |
X |
X |
|
|
|
Item software modification reports |
|
Informational |
|
history |
string |
X |
X |
X |
X |
X |
Item history |
|
Informational |
|
copyright |
string |
X |
X |
X |
X |
X |
Item copyright notice |
|
Informational |
|
install |
script |
|
X |
|
|
|
Package install script |
|
The script gets evaluated upon package installation |
|
uninstall |
script |
|
X |
|
|
|
Package uninstall script |
|
The script gets evaluated upon package uninstallation |
|
firsttimeinstall |
script |
|
X |
|
|
|
Package first time install script |
|
The script gets evaluated upon package first time installation |
|
init |
script |
|
|
|
|
X |
Constructor script used to invoke base class constructors |
|
The script gets evaluated before the constructor body |
|
body |
script |
X |
|
X |
X |
X |
Item body |
|
The script gets evaluated when the program, command or method is invoked or when the class is declared |
|