Package topo :: Package misc :: Module asizeof :: Class _Typedef
[hide private]
[frames] | no frames]

Class _Typedef

source code


Type definition class.
Instance Methods [hide private]
 
__init__(self, **kwds)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__lt__(self, unused) source code
 
__repr__(self)
x.__repr__() <==> repr(x)
source code
 
__str__(self)
x.__str__() <==> str(x)
source code
 
args(self)
Return all attributes as arguments tuple.
source code
 
dup(self, other=None, **kwds)
Duplicate attributes of dict or other typedef.
source code
 
flat(self, obj, mask=0)
Return the aligned flat size.
source code
 
format(self)
Return format dict.
source code
 
kwds(self)
Return all attributes as keywords dict.
source code
 
save(self, t, base=0, heap=False)
Save this typedef plus its class typedef.
source code
 
set(self, safe_len=False, **kwds)
Set one or more attributes.
source code
 
reset(self, base=0, item=0, leng=None, refs=None, both=True, kind=None, type=None)
Reset all specified attributes.
source code

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

Properties [hide private]
  base
  both
  item
  kind
  leng
  refs
  type

Inherited from object: __class__

Method Details [hide private]

__init__(self, **kwds)
(Constructor)

source code 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides: object.__init__
(inherited documentation)

__repr__(self)
(Representation operator)

source code 
x.__repr__() <==> repr(x)
Overrides: object.__repr__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 
x.__str__() <==> str(x)
Overrides: object.__str__
(inherited documentation)