Package mvpa :: Package misc :: Module attributes :: Class StateVariable
[hide private]
[frames] | no frames]

Class StateVariable

source code


Simple container intended to conditionally store the value
Instance Methods [hide private]
 
__init__(self, name=None, enabled=True, doc="State variable")
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
_get(self) source code
 
_set(self, val) source code
 
reset(self)
Simply detach the value, and reset the flag
source code
 
isEnabled(self) source code
 
enable(self, value=False) source code
 
__str__(self)
str(x)
source code

Inherited from CollectableAttribute: isSet, name

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __subclasshook__

Class Variables [hide private]

Inherited from CollectableAttribute: value

Inherited from CollectableAttribute (private): _instance_index

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, name=None, enabled=True, doc="State variable")
(Constructor)

source code 
x.__init__(...) initializes x; see help(type(x)) for signature
Overrides: object.__init__
(inherited documentation)

_get(self)

source code 
Overrides: CollectableAttribute._get

_set(self, val)

source code 
Overrides: CollectableAttribute._set

reset(self)

source code 
Simply detach the value, and reset the flag
Overrides: CollectableAttribute.reset

isEnabled(self)

source code 
Decorators:
  • @property

__str__(self)
(Informal representation operator)

source code 
str(x)
Overrides: object.__str__
(inherited documentation)