::xotcl::Class
::Test
Class Hierarchy of ::Test
- ::xotcl::Object
- Meta-class:
- ::xotcl::Class
![[i]](/resources/acs-subsite/ZoomIn16.gif)
- Methods for instances:
- __api_make_doc, __api_make_forward_doc, __timediff, abstract, ad_doc, ad_forward, ad_proc, appendC, arrayC, asHTML, autonameC, check, classC, cleanupC, configureC, containsC, copyC, db_0or1rowC, db_1rowC, debug, defaultmethodC, destroyC, destroy_on_cleanup, ds, evalC, existsC, extractConfigureArg, filterC, filterguardC, filtersearch, forward, hasclass, incrC, infoC, init, instvarC, invarC, isclass, ismetaclass, ismixin, isobject, istype, lappendC, log, method, mixinC, mixinguardC, moveC, msg, noinitC, objectparameter, parametercmdC, proc, procsearch, qn, requireNamespaceC, residualargsC, self, serialize, setC, set_instance_vars_defaults, show-object, substC, traceC, unknown, unsetC, uplevelC, upvarC, volatileC, vwait
- Methods to be applied on the class (in addition to the methods provided by the meta-class):
- getExitHandler, setExitHandler, unsetExitHandler
Test Class for the documentation of
Classes
,
Objects
,
instprocs
, and
procs
.
- Author:
- Gustaf Neumann
- CVS Identification:
-
$Id: 03-doc-procs.tcl,v 1.5 2012/06/25 14:46:52 victorg Exp $
Defined in packages/xotcl-core/tcl/03-doc-procs.tclClass Relations
- superclass: ::xotcl::Object
![[i]](/resources/acs-subsite/ZoomIn16.gif)
- subclass: ::SpecializedTest
![[i]](/resources/acs-subsite/ZoomIn16.gif)
Methods
::Test
my-class-specific-proc x y
This is a proc of Class Test merely for testing purposes...
- Parameters:
-
x - First Operand
y - Second Operand
<instance of ::Test
> my-method -id id
This is an instproc of Class Test merely for testing purposes...
- Switches:
- -id (required)
- Some Id
<instance of ::Test
> my-method2 -id id [ -flag on|off ]
This is an instproc of Class Test merely for testing purposes...
- Switches:
- -id (required)
- Some Id
- -flag (boolean) (defaults to
"true"
) (optional) - Some flag
<instance of ::Test
> my-method3 -id id [ -flag on|off ] \
[ -switch ] x [ y ]
This is an instproc of Class Test merely for testing purposes...
- Switches:
- -id (required)
- Some Id
- -flag (boolean) (defaults to
"true"
) (optional) - Some flag
- -switch (defaults to
"false"
) (optional) - Switch to turn on or off depending on default
- Parameters:
-
x - First Operand
y (defaults to "1"
) - Second Operand
Variables
::Test set __default_metaclass ::xotcl::Class
::Test set __default_superclass ::xotcl::Object