Package gavo :: Package base :: Module attrdef :: Class FunctionRelativePathAttribute
[frames] | no frames]

Class FunctionRelativePathAttribute

source code

  object --+            
           |            
AttributeDef --+        
               |        
 AtomicAttribute --+    
                   |    
    UnicodeAttribute --+
                       |
                      FunctionRelativePathAttribute
Known Subclasses:

A (utf-8 encoded) path relative to the result of some function at runtime.

This is used to make things relative to config items.

Instance Methods
 
__init__(self, name, baseFunction, default=None, description='Undocumented', **kwargs)
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
 
parse(self, value)
returns a typed python value for the string representation value.
source code
 
unparse(self, value)
returns a typed python value for the string representation value.
source code

Inherited from UnicodeAttribute: feed

Inherited from AtomicAttribute: feedObject, getCopy, makeUserDoc

Inherited from AttributeDef: doCallbacks

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

Class Variables

Inherited from UnicodeAttribute: typeDesc_

Properties

Inherited from object: __class__

Method Details

__init__(self, name, baseFunction, default=None, description='Undocumented', **kwargs)
(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: AttributeDef.iterParentMethods
(inherited documentation)

parse(self, value)

source code 

returns a typed python value for the string representation value.

value can be expected to be a unicode string.

Overrides: AtomicAttribute.parse
(inherited documentation)

unparse(self, value)

source code 

returns a typed python value for the string representation value.

value can be expected to be a unicode string.

Overrides: AtomicAttribute.unparse
(inherited documentation)