Home | Trees | Index | Help |
---|
Package svnmailer :: Package settings :: Module _typedstruct :: Class StructCreator |
|
object
--+
|
StructCreator
Method Summary | |
---|---|
Initialization | |
Descriptor |
Returns a new Descriptor instance |
MetaClass |
Returns a new MetaClass instance |
Private |
Returns a new Private instance |
callable |
Returns the __call__ method |
callable |
Returns __eq__/__ne__ descriptor |
callable |
Returns the __getitem__ method |
dict |
Generates the members descriptors |
callable |
Returns the __repr__ method |
callable |
Returns the __setitem__ method |
dict |
Generates the special methods |
tuple |
Prepares the member specs for later processing |
Struct |
Creates a new struct with extended properties |
Inherited from object | |
x.__delattr__('name') <==> del x.name... | |
x.__getattribute__('name') <==> x.name... | |
x.__hash__() <==> hash(x)... | |
helper for pickle... | |
helper for pickle... | |
x.__repr__() <==> repr(x)... | |
x.__setattr__('name', value) <==> x.name = value... | |
x.__str__() <==> str(x)... | |
Inherited from type | |
T.__new__(S, ...) -> a new object with type S, a subtype of T... |
Instance Variable Summary | |
---|---|
dict | _aliases : The member aliases. |
MetaClass |
_cls : The struct class to use |
dict | _eqignore : Member names to be ignored in EQ comparisons
(dict for faster lookup) |
dict | _members : The prepared members
({('name', 'alias', 'alias', ...): (spec, param), ...}) |
tuple | _names : The member names as tuple (without aliases) |
Class Variable Summary | |
---|---|
MetaClass |
_BASESTRUCT = svnmailer.settings._typedstruct.Struct |
Member |
_DEFAULTMEMBER = svnmailer.settings._typedstruct.Member |
Struct |
_DEFAULTSTRUCT = svnmailer.settings._typedstruct.Struct |
Method Details |
---|
__init__(self,
members,
cls=None,
aliases=None,
typemap=None,
eqignore=None)
Initialization |
_createDescriptor(self, name, private, member)Returns a newDescriptor instance
|
_createMetaClass(self, name, bases, cdict)Returns a newMetaClass instance
|
_createPrivate(self)Returns a newPrivate instance
|
_generateCall(self, private)Returns the __call__ method
|
_generateEq(self, private, iseq=True)Returns __eq__/__ne__ descriptor
|
_generateGetItem(self, private)Returns the __getitem__ method
|
_generateMembers(self, private, maps, arg)Generates the members descriptors
|
_generateRepr(self, private)Returns the __repr__ method
|
_generateSetItem(self, private)Returns the __setitem__ method
|
_generateSpecials(self, private)Generates the special methods
|
_prepareMembers(self, members, typemap)Prepares the member specs for later processing
|
create(self, maps=None, arg=None, initkw=None)Creates a new struct with extended properties
|
Instance Variable Details |
---|
_aliasesThe member aliases. ({'alias': 'real', ...})
|
_clsThe struct class to use
|
_eqignoreMember names to be ignored in EQ comparisons (dict for faster lookup)
|
_membersThe prepared members ({('name', 'alias', 'alias', ...): (spec, param), ...})
|
_namesThe member names as tuple (without aliases)
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.0 on Sun Sep 25 20:49:13 2005 | http://epydoc.sf.net |