itcl

    0熱度

    1回答

    我想重命名或刪除tcl中的命名空間,任何人都可以告訴我該怎麼做? rename gk "" 這裏GK是命名空間

    0熱度

    1回答

    我剛剛開始使用itcl,並且找到了How to pass itcl object from one class to another?但這並沒有幫助我。 我有以下對象定義: package require Itcl namespace eval FEM { itcl::class Node { variable nid variable x va

    0熱度

    1回答

    我有了一些內在價值的一類: private variable layer_type private variable color private variable name private variable thickness private variable conductivity private variable permittivity private variable los

    1熱度

    3回答

    在namespace :: NodeTypes中我有一個類NodeType1和另一個類NodeType2的另一個對象。 我也有類NetworkCollector和另一類NodeType2 我需要通過NodeType1和NodeType2的對象作爲在NetworkCollector的對象參數和NetworkCollector類內使用傳遞的對象的功能的另一個目的。 您能否提出一些可能的解決方案,以便如

    0熱度

    1回答

    我是很新的ITCL可以有一個人幫助我如何轉換的Tcl follwing代碼ITCL catch { namespace delete ::HVToolSet } namespace eval ::HVToolSet { } { } proc ::HVToolSet::Main {} { if {[winfo exists .main]} { destroy .main

    0熱度

    1回答

    我想從configbody返回,但不能在不導致變量未被設置的情況下顯式地返回。 我想幫助理解我所看到的行爲。請考慮(使用Itcl 3.4)下面的代碼: package require Itcl catch {itcl::delete class Model} itcl::class Model { public variable filename "orig" } itcl::