Package models :: Module check_param_card :: Class Block
[hide private]
[frames] | no frames]

Class Block

source code

object --+    
         |    
      list --+
             |
            Block

list of parameter

Instance Methods [hide private]
new list
__init__(self, name=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
get(self, lhacode, default=None)
return the parameter associate to the lhacode
source code
 
remove(self, lhacode)
remove a parameter
source code
 
append(self, obj)
append object to end
source code
 
create_param_dict(self)
create a link between the lhacode and the Parameter
source code
 
def_scale(self, scale) source code
 
load_str(self, text)
set inforamtion from the line
source code
 
keys(self)
returns the list of id define in this blocks
source code
 
__str__(self)
return a str in the SLAH format
source code

Inherited from list: __add__, __contains__, __delitem__, __delslice__, __eq__, __ge__, __getattribute__, __getitem__, __getslice__, __gt__, __iadd__, __imul__, __iter__, __le__, __len__, __lt__, __mul__, __ne__, __new__, __repr__, __reversed__, __rmul__, __setitem__, __setslice__, __sizeof__, count, extend, index, insert, pop, reverse, sort

Inherited from object: __delattr__, __format__, __reduce__, __reduce_ex__, __setattr__, __subclasshook__

Class Variables [hide private]

Inherited from list: __hash__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, name=None)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Returns: new list
Overrides: object.__init__
(inherited documentation)

remove(self, lhacode)

source code 

remove a parameter

Overrides: list.remove

append(self, obj)

source code 

append object to end

Overrides: list.append
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 

return a str in the SLAH format

Overrides: object.__str__