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

Type UserPackageDepSpecOptions

object --+    
         |    
  instance --+
             |
            UserPackageDepSpecOptions


Options for parse_user_package_dep_spec.

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

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

__getitem__(UserPackageDepSpecOption)
(Indexing operator)

Returns whether the specified bit is enabled.
Returns:
bool

__iadd__(UserPackageDepSpecOption)

Enable the specified bit.
Returns:
UserPackageDepSpecOptions

__ior__(UserPackageDepSpecOptions)

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

__isub__(UserPackageDepSpecOption)

Disable the specified bit.
Returns:
UserPackageDepSpecOptions

__or__(UserPackageDepSpecOptions)
(Or operator)

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

__sub__(UserPackageDepSpecOption)
(Subtraction operator)

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

subtract(UserPackageDepSpecOptions)

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

Property Details

any

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

none

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

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