home *** CD-ROM | disk | FTP | other *** search
- global hasGetSetMethod
- set hasGetSetMethod 1
-
- global attribAccessPropName
- set attribAccessPropName "attrib_access"
-
- global methodAccessPropName
- set methodAccessPropName "method_access"
-
- proc isGetMethod {mthd attr} {
- if {"get_[$attr name]" == [$mthd name]} {
- return 1
- } else {
- return 0
- }
- }
-
- proc isSetMethod {mthd attr} {
- if {"set_[$attr name]" == [$mthd name] } {
- return 1
- } else {
- return 0
- }
- }
-