Module paludis :: Class AssociationMask
[show private | hide private]
[frames | no frames]

Type AssociationMask

object --+        
         |        
  instance --+    
             |    
          Mask --+
                 |
                AssociationMask


An AssociationMask is a Mask that signifies that a PackageID is masked because of its association with another PackageID that is itself masked.

This is used by old-style virtuals. If the provider of a virtual is masked then the virtual itself is masked by association.

Can be subclassed in Python.
Method Summary
  __init__(...)
  __reduce__(...)
PackageID associated_package()
Fetch the associated package.
string description()
A description of the mask.
string key()
A single character key, which can be used by clients if they need a very compact way of representing a mask.
    Inherited from instance
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __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)

Class Variable Summary
int __instance_size__ = 32                                                                    

Method Details

associated_package()

Fetch the associated package.

associated_package() -> PackageID Fetch the associated package.
Returns:
PackageID

description()

A description of the mask.

description() -> string A description of the mask.
Returns:
string
Overrides:
paludis.Mask.description

key()

A single character key, which can be used by clients if they need a very compact way of representing a mask.

key() -> string A single character key, which can be used by clients if they need a very compact way of representing a mask.
Returns:
string
Overrides:
paludis.Mask.key

Class Variable Details

__instance_size__

Type:
int
Value:
32                                                                    

Generated by Epydoc 2.1 on Mon Aug 4 19:40:19 2008 http://epydoc.sf.net