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

Type RepositoryUseInterface

object --+    
         |    
  instance --+
             |
            RepositoryUseInterface


Interface for handling USE flags for the Repository class.
Method Summary
  __init__(...)
Raises an exception This class cannot be instantiated from Python
  __reduce__(...)
string describe_use_flag(UseFlagName, PackageID)
Describe a use flag.
UseFlagState query_use(UseFlagName, PackageID)
Query the state of the specified use flag.
bool query_use_force(UseFlagName, PackageID)
Query whether the specified use flag is forceed.
bool query_use_mask(UseFlagName, PackageID)
Query whether the specified use flag is masked.
    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)

Method Details

describe_use_flag(UseFlagName, PackageID)

Describe a use flag.
Returns:
string

query_use(UseFlagName, PackageID)

Query the state of the specified use flag.
Returns:
UseFlagState

query_use_force(UseFlagName, PackageID)

Query whether the specified use flag is forceed.
Returns:
bool

query_use_mask(UseFlagName, PackageID)

Query whether the specified use flag is masked.
Returns:
bool

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