Module _curvelib :: Class Flag
[hide private]
[frames] | no frames]

Class Flag

object --+
         |
        Flag
Known Subclasses:

A base class for objects which have a set of flags that can be set.

You should never be instantiating this class directly - it only exists for other classes to inherit from.

Instance Methods [hide private]
 
__delattr__(...)
x.__delattr__('name') <==> del x.name
 
__getattribute__(...)
x.__getattribute__('name') <==> x.name
a new object with type S, a subtype of T
__new__(T, S, ...)
 
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value
bool
getFlag(flag)
Gets the specified flag.
None
setFlag(flag, value)
Set or clear the specified flag.

Inherited from object: __format__, __hash__, __init__, __reduce__, __reduce_ex__, __repr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__delattr__(...)

 

x.__delattr__('name') <==> del x.name

Overrides: object.__delattr__

__getattribute__(...)

 

x.__getattribute__('name') <==> x.name

Overrides: object.__getattribute__

__new__(T, S, ...)

 
Returns: a new object with type S, a subtype of T
Overrides: object.__new__

__setattr__(...)

 

x.__setattr__('name', value) <==> x.name = value

Overrides: object.__setattr__

getFlag(flag)

 

Gets the specified flag. The parameter should be one of the FlagType constants.

Returns: bool

setFlag(flag, value)

 

Set or clear the specified flag. The flag parameter should be one of the FlagType constants and value should be True or False.

Returns: None