__init__(self,
session,
topNode,
parentObject=None)
The constructor for all Cheshire3 objects take the same arguments:
session: A Session object topNode: The <config> or
<subConfig> domNode for the configuration parent: The object
that provides the scope for this object.
|
_getDomFromFile(self,
session,
fileName)
Read in an XML file from disk to get the configuration for this
object.
|
_handleConfigNode(self,
session,
node)
|
_parseIncludes(self,
session,
path)
|
_recurseSubConfigs(self,
session,
child)
|
_verifyDefault(self,
type,
value)
|
_verifyOption(self,
type,
value)
|
_verifySetting(self,
type,
value)
|
auth_function(self,
name)
Add an authorisation layer on top of a named function.
|
get_config(self,
session,
id)
Return a configuration for the given object.
|
get_default(self,
session,
id,
default=None)
Return the default value for an option on this object
|
get_object(self,
session,
id)
Return an object with the given id within this object's scope, or
search upwards for it.
|
get_path(self,
session,
id,
default=None)
Return the named path
|
get_setting(self,
session,
id,
default=None)
Return the value for a setting on this object.
|
log_function(self,
name)
Set a named function to log invocations.
|
unauth_function(self,
name)
Remove the authorisation requirement from the named function.
|
unlog_function(self,
name)
Remove the logging from a named function.
|
:
__delattr__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__str__
|