Package svnmailer :: Module struct :: Class StructAccessors
[show private | hide private]
[frames | no frames]

Class StructAccessors

object --+
         |
        StructAccessors


Struct setters/getters
Method Summary
  __init__(self, stype)
Initialization
  getAccessors(self, xname)
Returns an accessor pair
    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...

Class Variable Summary
dict getters = {}
dict setters = {'regex': <function _getRegexSetter at 0x40309...

Method Details

__init__(self, stype)
(Constructor)

Initialization
Parameters:
stype - accessor type
           (type=str)
Raises:
ValueError - Unknown accessor type
Overrides:
__builtin__.object.__init__

getAccessors(self, xname)

Returns an accessor pair

Class Variable Details

getters

Type:
dict
Value:
{}                                                                     

setters

Type:
dict
Value:
{'bool': <function _getBoolSetter at 0x403091ec>,
 'humanbool': <function _getHumanBoolSetter at 0x40309224>,
 'int': <function _getIntSetter at 0x403091b4>,
 'quotedstr': <function _getQuotedStrSetter at 0x40309304>,
 'regex': <function _getRegexSetter at 0x4030925c>,
 'unicode': <function _getUnicodeSetter at 0x4030917c>,
 'unicommand': <function _getCommandlistSetter at 0x403092cc>,
 'unitoken': <function _getTokenlistSetter at 0x40309294>}             

Generated by Epydoc 2.0 on Mon Feb 14 16:49:19 2005 http://epydoc.sf.net