Package gavo :: Package rscdef :: Module common :: Class RDAttribute
[frames] | no frames]

Class RDAttribute

source code

               object --+    
                        |    
base.attrdef.AttributeDef --+
                            |
                           RDAttribute

an attribute that gives access to the current rd.

The attribute is always called rd. There is no default, but on the first access, we look for an ancestor with an rd attribute and use that if it exists, otherwise rd will be None. There currently is no way to reset the rd.

These attributes cannot (yet) be fed, so rd="xxx" won't work. If we need this, the literal would probably be an id.

Instance Methods
 
__init__(self)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
iterParentMethods(self)
returns an iterator over (name, method) pairs that should be inserted in the parent class.
source code
 
makeUserDoc(self) source code

Inherited from base.attrdef.AttributeDef: doCallbacks, feed, feedObject, getCopy

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables
  computed_ = True
  typeDesc_ = 'reference to a resource descriptor'
Properties

Inherited from object: __class__

Method Details

__init__(self)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

iterParentMethods(self)

source code 

returns an iterator over (name, method) pairs that should be inserted in the parent class.

Overrides: base.attrdef.AttributeDef.iterParentMethods
(inherited documentation)

makeUserDoc(self)

source code 
Overrides: base.attrdef.AttributeDef.makeUserDoc