Package mvpa :: Package misc :: Module state :: Class CollectableAttribute
[hide private]
[frames] | no frames]

Class CollectableAttribute

source code


Base class for any custom behaving attribute intended to become part of a collection

Derived classes will have specific semantics:
* StateVariable: conditional storage
* Parameter: attribute with validity ranges.
 - ClassifierParameter: specialization to become a part of
   Classifier's params collection
 - KernelParameter: --//-- to become a part of Kernel Classifier's
   kernel_params collection

Those CollectableAttributes are to be groupped into corresponding groups for each class
by statecollector metaclass

Instance Methods [hide private]
 
__init__(self, name=None, doc=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
_getVirtual(self) source code
 
_setVirtual(self, value) source code
 
_get(self) source code
 
_set(self, val) source code
 
reset(self)
Simply reset the flag
source code
 
__str__(self)
str(x)
source code
 
_getName(self) source code
 
_setName(self, name) source code

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

Properties [hide private]
  isSet
  value
  name

Inherited from object: __class__

Method Details [hide private]

__init__(self, name=None, doc=None)
(Constructor)

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

__str__(self)
(Informal representation operator)

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

Property Details [hide private]

isSet

Get Method:
unreachable.isSet(self)

value

Get Method:
_getVirtual(self)
Set Method:
_setVirtual(self, value)

name

Get Method:
_getName(self)
Set Method:
_setName(self, name)