Acspy.Util.NameTree
index
/diska/alma_tmp/ACS/LGPL/CommonSoftware/acspy/src/Acspy/Util/NameTree.py

# @(#) $Id: NameTree.py,v 1.7 2007/10/04 21:56:15 agrimstrup Exp $

 
Modules
       
CosNaming
Acspy.Util.NodeList
string
sys

 
Classes
       
nameTree

 
class nameTree
    # keep a directory tree without any cycles
 
  Methods defined here:
__init__(self, corba_object, nameServerName='')
cd(self, path, ignore_error=0)
# cd (path)
cp(self, name)
cp()
delObject(self, name, type)
this does not handle absolute or relative path, just cwd
getObject(self, name, type)
this does not handle absolute or relative path, just cwd
listdir(self)
# listdir ()
ls(self)
# ls ()
mkdir(self, path)
# mkdir (path)
popd(self, index=-1)
popd()
pushd(self, l='')
pushd()
putObject(self, name, type, object)
this does not handle absolute or relative path, just cwd
pwd(self)
pwd()
rm(self, name, args='noforce')
rm()

 
Functions
       
getnode(node, wd)
# getnode - used by many local routines to resolve and narrow
# the node and return a context.

 
Data
        __revision__ = '$Id: NameTree.py,v 1.7 2007/10/04 21:56:15 agrimstrup Exp $'
extensions = {'Device': 'dev', 'ROProperty': 'rop', 'RWProperty': 'rwp', 'Service': 'srv'}