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

Type QACheckProperties

object --+    
         |    
  instance --+
             |
            QACheckProperties


A collection of properties for a QA check.

Note that python lists containing suitable enum values are convertible to Options classes.
Method Summary
  __init__()
__init__()
QACheckProperties __add__(QACheckProperty)
Return a copy of ourself with the specified bit enabled.
bool __getitem__(QACheckProperty)
Returns whether the specified bit is enabled.
QACheckProperties __iadd__(QACheckProperty)
Enable the specified bit.
QACheckProperties __ior__(QACheckProperties)
Enable any bits that are enabled in the parameter.
QACheckProperties __isub__(QACheckProperty)
Disable the specified bit.
QACheckProperties __or__(QACheckProperties)
Return a copy of ourself, bitwise 'or'ed with another Options set.
  __reduce__(...)
QACheckProperties __sub__(QACheckProperty)
Return a copy of ourself with the specified bit disabled.
QACheckProperties subtract(QACheckProperties)
Disable any bits that are enabled in the parameter.
    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)

Property Summary
  any: [ro] bool Is any bit enabled.
  none: [ro] bool Are all bits disabled.

Class Variable Summary
int __instance_size__ = 24                                                                    

Method Details

__init__()
(Constructor)

__init__()
Overrides:
__builtin__.object.__init__

__add__(QACheckProperty)
(Addition operator)

Return a copy of ourself with the specified bit enabled.
Returns:
QACheckProperties

__getitem__(QACheckProperty)
(Indexing operator)

Returns whether the specified bit is enabled.
Returns:
bool

__iadd__(QACheckProperty)

Enable the specified bit.
Returns:
QACheckProperties

__ior__(QACheckProperties)

Enable any bits that are enabled in the parameter.
Returns:
QACheckProperties

__isub__(QACheckProperty)

Disable the specified bit.
Returns:
QACheckProperties

__or__(QACheckProperties)
(Or operator)

Return a copy of ourself, bitwise 'or'ed with another Options set.
Returns:
QACheckProperties

__sub__(QACheckProperty)
(Subtraction operator)

Return a copy of ourself with the specified bit disabled.
Returns:
QACheckProperties

subtract(QACheckProperties)

Disable any bits that are enabled in the parameter.
Returns:
QACheckProperties

Property Details

any

[ro] bool Is any bit enabled.
Get Method:
<Boost.Python.function object at 0x1785c...

none

[ro] bool Are all bits disabled.
Get Method:
<Boost.Python.function object at 0x1785c...

Class Variable Details

__instance_size__

Type:
int
Value:
24                                                                    

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