Inheritance diagram for Gattr:
Public Member Functions | |
__init__ (name, id, size, flags, rule=None, constraint=None, egu=None) | |
create (node) | |
set (node, value, attr, bypass=0) | |
get (node, attr, bypass=0) | |
getName () | |
size () | |
id () | |
setRule (rule) | |
getRule () | |
setConstraint (constraint) | |
setEGU (egu) | |
getEGU () | |
getConstraint () | |
flags () | |
isReadOnly () | |
isWriteOnly () | |
isReadWrite () | |
isNoDirectAccess () | |
isCommand () | |
isDeprecated () |
Definition at line 28 of file gAttr.py.
|
Gattr constructor.
|
|
Method that returns the gConstraint.Gconstraint class for this gAttr
|
|
Method that returns the gEGU.GEGU class for this gAttr
|
|
Retrieve the rule associated with the gAttr. |
|
Returns a boolean value indicating if the attribute is a dataless command or not
|
|
Returns a boolean value indicating if the attribute is deprecated or not
|
|
Returns a boolean value indicating if the attribute is no direct access or not
|
|
Returns a boolean value indicating if the attribute is read only or not
|
|
Returns a boolean value indicating if the attribute is read write or not
|
|
Returns a boolean value indicating if the attribute is write only or not
|
|
Method to attach a constraint to a gAttr after the gAttr has been constructed. This method will go away once constraints are loaded from a configuration file.
|
|
Method to attach a EGU to a gAttr after the gAttr has been constructed.
|
|
Method to attach a rule to a gAttr after the gAttr has been constructed.
|
|
Method for returning the size of the attribute
|