Inheritance diagram for Gdb:
Public Member Functions | |
__init__ (client, parent, id, valid_attrs=[], addr=None, flags=None) | |
up () | |
id () | |
addr () | |
root () | |
getIdTuple () | |
getName () | |
getOpaque (name=None) | |
Retrieves the named opaque data included in the schema The opaque data needs to be associated with a node therefore this method only returns the opaque data that is associated with that node. | |
getSerialNos (component=None) | |
Retrieves the serial numbers associated with the node. | |
getExcludeFlags () | |
Retrieves the exclude reasons associated with the node. | |
setFlag (key, value) | |
Set generic flags for the node. | |
getFlag (key, integer=False) | |
Returns the value which corresponds to key. | |
attrIter () | |
Iterator for attributes. |
Uses __getattr__ and __setattr__ methods to feature an SCL like syntax for referencing attributes
Definition at line 13 of file gDb.py.
|
gNode constructor.
|
|
Return the hardware address of this component |
|
Iterator for attributes. Iterates over attribute objects belonging to the current node returning each object in the order that is specified in the node's __attrs member. |
|
Retrieves the exclude reasons associated with the node.
|
|
Returns the value which corresponds to key. Returns the value which corresponds to key.
|
|
Return the node id(s) in this node's hierarchy
|
|
Retrieves the named opaque data included in the schema The opaque data needs to be associated with a node therefore this method only returns the opaque data that is associated with that node.
Reimplemented in GHSK. |
|
Retrieves the serial numbers associated with the node.
|
|
Return the hardware id of this component |
|
Return the root node in this node's hierarchy
|
|
Set generic flags for the node. Flags are passed by gSchemaConfig when the <flags> section in the schema is parsed.
|
|
Return the parent of this component |