This class represents the "list" parameters in a config 
  file. This class' behavior is very similar to that of the buildin list class.
    | new empty list | 
        
          | __init__(self,
        val= [],
        parent=None)Constructs a List object from the given 'val'.
 |  |  | 
    |  | 
        
          | __getslice__(self,
        i,
        j) Returns a new list composed of elements deep-copied from this list 
      from i-th through the j-th element (but not including the j-th 
      element).
 |  |  | 
    |  | 
        
          | __add__(self,
        rhs) Returns a new list composed of elements deep-copied from this list 
      and the 'rhs' list.
 |  |  | 
    |  | 
        
          | __iadd__(self,
        rhs) Updates this list with the given 'rhs'.
 |  |  | 
    |  | 
        
          | __setitem__(self,
        index,
        val) Resets the 'index'-th element with the given value 'val'.
 |  |  | 
    |  | 
        
          | __str__(self,
        ind= '',
        tag=set([]),
        pre='',
        is_list_elem=False,
        outdent='')Converts this list to a string in the ark syntax and returns the 
      string.
 |  |  | 
    |  | 
        
          | __eq__(self,
        rhs) Returns True if the value of this object equals that of 'rhs'.
 |  |  | 
    |  |  | 
    |  | 
        
          | __set_val(self,
        val) Sets the value, which must be a list or tuple.
 |  |  | 
    |  | 
        
          | __get_raw_val(self) Returns the raw value.
 |  |  | 
    |  | 
        
          | __get_bval(self) Returns a new `Sea' object, which has all macros expanded and 
      references dereferenced.
 |  |  | 
    |  | 
        
          | __get_dval(self) Returns a new `Sea' object with dereferenced values.
 |  |  | 
    |  | 
        
          | __get_val(self) Returns the value with macro's expended and references dereferenced 
      if the raw value is a string.
 |  |  | 
    |  | 
        
          | append(self,
        val) Appends the given value 'val' to this list.
 |  |  | 
    |  | 
        
          | quick_append(self,
        val) Appends the given value 'val' to this list.
 |  |  | 
    |  | 
        
          | extend(self,
        val_list) Extends this list with the given list or tuple 'val_list'.
 |  |  | 
    |  | 
        
          | insert(self,
        index,
        val) Inserts the given value 'val' to the 'index'-th position in the list.
 |  |  | 
    | item | 
        
          | pop(self,
        index=-1) Removes the 'index'-th element from the list and returns the removed 
      element.
 |  |  | 
    |  | 
        
          | apply(self,
        op) Recursively applies the operation as given by 'op' to all 'Sea' 
      subobjects of this 'Sea' object.
 |  |  | 
    |  | 
        
          | update(self,
        ark=None,
        tag= set([]))Updates this list with 'ark'.
 |  |  | 
    |  | 
        
          | _set_value_helper(self,
        key_index_list,
        value,
        tag) This functions uses the given 'key_index_list' to locate the Sea 
      object and changes its value to the given 'value'.
 |  |  | 
    |  |  | 
  
    | Inherited from Sea:__getstate__,__ne__,__setstate__,add_tag,clear_all_tag,dump,has_tag,parent,pmode,remove_tag,reset_tag,set_parent,set_pmode,tag Inherited from list:__contains__,__delitem__,__delslice__,__ge__,__getattribute__,__getitem__,__gt__,__imul__,__iter__,__le__,__len__,__lt__,__mul__,__new__,__repr__,__reversed__,__rmul__,__setslice__,__sizeof__,count,index,remove,reverse,sort Inherited from object:__delattr__,__format__,__reduce__,__reduce_ex__,__setattr__,__subclasshook__ |