Package svnmailer :: Module typedstruct :: Class StructPrivate
[show private | hide private]
[frames | no frames]

Class StructPrivate

object --+
         |
        StructPrivate


Private container class for Struct internals
Method Summary
  __init__(self, names, aliases)
Initialization
any getArg(self, instance)
Returns the arg for the particular instance
dict getMaps(self, instance)
Returns the map dict for the particular instance
dict getSubst(self, instance)
Returns the subst dict for the particular instance
dict getValues(self, instance)
Returns the value dict for the particular instance
  initInstance(self, instance, maps, arg)
Initializes the class for a particular instance
  removeInstance(self, instance)
Removes all data, referring to a particular instance
    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...

Method Details

__init__(self, names, aliases)
(Constructor)

Initialization
Parameters:
names - The member names to serve
           (type=tuple)
aliases - The name mappings
           (type=dict)
Overrides:
__builtin__.object.__init__

getArg(self, instance)

Returns the arg for the particular instance
Parameters:
instance - The instance in question
           (type=object)
Returns:
The arg used for initialization
           (type=any)

getMaps(self, instance)

Returns the map dict for the particular instance
Parameters:
instance - The instance in question
           (type=object)
Returns:
The map dictionary
           (type=dict)

getSubst(self, instance)

Returns the subst dict for the particular instance
Parameters:
instance - The instance in question
           (type=object)
Returns:
The substitution dict
           (type=dict)

getValues(self, instance)

Returns the value dict for the particular instance
Parameters:
instance - The instance in question
           (type=object)
Returns:
The value dictionary
           (type=dict)

initInstance(self, instance, maps, arg)

Initializes the class for a particular instance
Parameters:
instance - The instance in question
           (type=object)
maps - The maps to use
           (type=dict)
arg - The initialization argument
           (type=any)

removeInstance(self, instance)

Removes all data, referring to a particular instance
Parameters:
instance - The instance in question
           (type=object)

Generated by Epydoc 2.0 on Sun Aug 28 20:57:55 2005 http://epydoc.sf.net