|
||||||
SUMMARY: CHILDREN | PARAMETER | INSTPROC | INSTFILTER | INSTFORWARD | DETAIL: | INSTPROC |
::xotcl::Object | +--::xox::Node
Please describe the class Environment here.
Variables | |||
Name | Default Value | Class | Comment |
nodeName |
::xox::Node | ||
tclLibPath |
::xox::Environment |
Methods | |
Name | Comment |
addTclLibPath {path}
| |
loadEnvironment {file}
| |
loadPaths {}
| |
writeEnvironment {file}
|
Methods from ::xotcl::Object |
#, ., ?, ?code, ?methods, ?object, abstract, copy, coverageFilter, defaultmethod, extractConfigureArg, filterappend, garbageCollect, get#, getClean#, hasclass, init, methodTag, mixinappend, move, profileFilter, self, setParameterDefaults, shell, tclcmd, traceFilter,
|
Instproc Detail |
path
::xox::Environment instproc addTclLibPath {path} { lappend ::env(TCLLIBPATH) $path lappend ::auto_path $path }
file
::xox::Environment instproc loadEnvironment {file} { set reader [ ::xox::XmlNodeReader new ] $reader buildNodes [ self ] $xml my loadPaths }
::xox::Environment instproc loadPaths {} { foreach path [ my tclLibPath ] { my addTclLibPath $path } }
file
::xox::Environment instproc writeEnvironment {file} { set writer [ ::xox::SimpleXmlNodeWriter new ] $writer writeXmlFile [ self ] $file }