| Home | Trees | Index | Help |
|---|
GTriggerCore--+ |object--+ | | |ParserObj--+ |GObj--+ |GCondition--+ |GConditionElement--+ | GCParam
GRStubParam| Method Summary | |
|---|---|
__init__(self,
parent,
name,
datatype)
| |
Add another key to the parameter dictionary holding the parameter's value and return an apropriate place holder for it. | |
A parameter element evaluates to it's value. | |
Descendants override this function to return the value of the parameter. | |
The prefix notation of a parameter object is a 'constant' with the parameters' value | |
| Inherited from GCondition | |
This function creates a (partial) condition tree from a prefix notation list. | |
This function calls validate () on all it's children. | |
| Inherited from GObj | |
| |
| |
Dumps an XML representation of the object | |
This is a convenience function for applications NOT using GParser to load an object tree. | |
A convenience function for applications NOT using GParser to load an object tree. | |
| string |
Returns the xml tag to be used to represent the object. |
Return a python iterator of child objects. | |
maxInits returns the maximum size of all the _inits list from this object or it's children | |
Starts GNUe's phased initialization system from this object down. | |
A recusive function to print an indented text representation of the GObj tree from this object down. | |
Function that recursively walks down through a tree of ParserObj instances and applies a function
to them. | |
| Inherited from GTriggerCore | |
| |
Construct a namespace object tree from an XML ( definitions.GObjects.GObj) object tree. | |
Return the namespace object that mirrors this object in the action/trigger namespace. | |
| Inherited from ParserObj | |
Set the action attribute of a given object to the specified action. | |
Get the contents of this object. | |
Return a compareable and identifying id of an object within a tree. | |
Set attributes loaded by GParser. | |
Add an object to the list of children | |
Assign all attributes from a given object to this one. | |
Build an object tree representing the difference between two object trees. | |
Return a XML representation of the object. | |
Moves downward though the children of an object till it finds the child with the specified name. | |
Moves downward through the children of an object till it finds the child of the specified type. | |
Find all children of a specific type. | |
Moves upward though the parents of an object till it finds the parent of the specified type. | |
Returns the content of any GContent objects that are children of this object. | |
Return a useful description of the object. | |
| any |
Returns the immediate parent of an object instance in a GObj tree. |
Merge another object tree into this tree. | |
Set the immediate parent of an object instance in a GObj tree | |
| Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
Return hash(x)... | |
Return a new object with type S, a subtype of T... | |
helper for pickle | |
helper for pickle | |
x.__setattr__('name', value) <==> x.name = value | |
Return str(x)... | |
| Instance Variable Summary | |
|---|---|
| Inherited from GCondition | |
_maxChildren_: if not None specifies the maximum number of children allowed for a
condition element. | |
_operator_: unicode string defining the operator used for SQL transformation of a
condition element. | |
| Method Details |
|---|
__init__(self,
parent,
name=None,
datatype='char')
|
asSQL(self, paramDict)Add another key to the parameter dictionary holding the parameter's value and return an apropriate place holder for it.
|
evaluate(self, lookup)A parameter element evaluates to it's value.
|
getValue(self)Descendants override this function to return the value of the parameter. |
prefixNotation(self)The prefix notation of a parameter object is a 'constant' with the parameters' value
|
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 2.1 on Wed Nov 19 23:03:51 2008 | http://epydoc.sf.net |