Clone
Gustaf A. Neumann <neumann@imac.lan>
committed
on 21 Feb 10
- renamed old "xotcl::is" -> "xotcl::objectproperty" - renamed old "xotcl::is2" -> "xotcl::is" - we have now is tests for objects in ::xotcl… Show more
- renamed old "xotcl::is" -> "xotcl::objectproperty" - renamed old "xotcl::is2" -> "xotcl::is" - we have now is tests for objects in ::xotcl::objectproperty     ::xotcl::objectproperty $obj object     ::xotcl::objectproperty $obj class     ::xotcl::objectproperty $obj baseclass     ::xotcl::objectproperty $obj metaclass     ::xotcl::objectproperty $obj type XXXX     ::xotcl::objectproperty $obj hasmixin XXXX

- "::xotcl::is" is the higher level command,

 supporting string contstraints "e.g. upper", user defined type checkers

 and as well object properties (every parameter type supported for object

 and method paameter). Examples:

   ::xotcl::is $obj object ?-type $type? ?-hasmixin $mixin?

   ::xotcl::is $cl class ?-type $type? ?-hasmixin $mixin?

   ::xotcl::is obj metaclass

   ::xotcl::is $num integer

   ::xotcl::is $string upper

- implemented 2nd level reference counting for paramObjType

Show less