Package svnmailer :: Package settings :: Module _base :: Class BaseMember
[show private | hide private]
[frames | no frames]

Class BaseMember

object --+    
         |    
    Member --+
             |
            BaseMember

Known Subclasses:
BasePostmapMember, BasePremapMember, BooleanMember, HumanBooleanMember, IntegerMember, StdinMember, StringMember

Base class for svnmailer descriptors
Method Summary
any doPostmap(self, value)
abstract method
any doPremap(self, value)
abstract method
any doSubstitute(self, value, subst)
abstract method
any doTransform(self, value)
abstract method
  init(self)
Initialization
  postmap(self, value)
Postmap the value if it's activated
  premap(self, value)
Premap the value if it's activated
  substitute(self, value, subst)
Substitute the value if it's activated
  transform(self, value)
Transform if value is not None
    Inherited from Member
  __init__(self, mapper, arg, param)
Initialization
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name...
  __getattribute__(...)
x.__getattribute__('name') <==> x.name...
  __hash__(x)
x.__hash__() <==> hash(x)...
  __reduce__(...)
helper for pickle...
  __reduce_ex__(...)
helper for pickle...
  __repr__(x)
x.__repr__() <==> repr(x)...
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value...
  __str__(x)
x.__str__() <==> str(x)...
    Inherited from type
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T...

Instance Variable Summary
    Inherited from Member
any arg: The custom initialization argument
Struct instance: The owner instance
callable mapper: The associated mapper function (or None)
any param: The descriptor parameter

Method Details

doPostmap(self, value)

abstract method
Parameters:
value - The value to premap
           (type=any)
Returns:
The mapped value
           (type=any)

doPremap(self, value)

abstract method
Parameters:
value - The value to premap
           (type=any)
Returns:
The mapped value
           (type=any)

doSubstitute(self, value, subst)

abstract method
Parameters:
value - The value to substitute
           (type=any)
subst - The substitution dictionary
           (type=dict)
Returns:
The substituted value
           (type=any)

doTransform(self, value)

abstract method
Parameters:
value - The value to tranform
           (type=any)
Returns:
The transformed value
           (type=any)

init(self)

Initialization
Overrides:
svnmailer.settings._typedstruct.Member.init

postmap(self, value)

Postmap the value if it's activated
Overrides:
svnmailer.settings._typedstruct.Member.postmap

premap(self, value)

Premap the value if it's activated
Overrides:
svnmailer.settings._typedstruct.Member.premap

substitute(self, value, subst)

Substitute the value if it's activated
Overrides:
svnmailer.settings._typedstruct.Member.substitute

transform(self, value)

Transform if value is not None
Overrides:
svnmailer.settings._typedstruct.Member.transform

Generated by Epydoc 2.0 on Sun Sep 25 20:49:16 2005 http://epydoc.sf.net