xo::dotclass (private)

 xo::dotclass [ -is_focus is_focus ] [ -hide_methods hide_methods ] \
    [ -documented_methods documented_methods ] e

Defined in packages/xotcl-core/tcl/doc-procs.tcl

Switches:
-is_focus
(defaults to "0") (optional)
-hide_methods
(defaults to "1") (optional)
-documented_methods
(defaults to "1") (optional)
Parameters:
e

Partial Call Graph (max 5 caller/called nodes):
%3 xo::dotcode xo::dotcode (private) xo::dotclass xo::dotclass xo::dotcode->xo::dotclass export_vars export_vars (public) xo::dotclass->export_vars xo::dot_append_method xo::dot_append_method (private) xo::dotclass->xo::dot_append_method xo::dotquote xo::dotquote xo::dotclass->xo::dotquote

Testcases:
No testcase defined.
Source code:
        set definition ""
        if {$is_focus} {
            set style "style=filled,penwidth=1.5,color=bisque4,fillcolor=beige,"
        } else {
            set style ""
        }
        set url [export_vars -base show-object {{object $e}}]
        append definition "[dotquote $e] \[${style}URL=\"$url\",label=\"\{$e|"
        foreach slot [$e info slots] {
            set name ""
            catch {set name $slot name}
            if {$name ne ""} {
                append definition "[$slot name]\\l"
            }
        }
        append definition "|"
        ::xo::api scope_from_object_reference scope e
        set methods [list]
        if {!$hide_methods} {
            dot_append_method -documented_methods $documented_methods $e methods proc
            dot_append_method -documented_methods $documented_methods $e methods instproc
            dot_append_method -documented_methods $documented_methods $e methods instforward
        }
        foreach method [lsort $methods] {
            append definition "$method\\l"
        }
        append definition "\}\"\];\n"
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ]
Show another procedure: