parameters: (self, name="", indent="")
return_statement: return Input.write(self, name=name, indent=indent, text=rstr)
docstring: Writes data in xml file format.
  
        Writes the data in the appropriate format between appropriate tags. Note
        that only ELPERLINE values are printed on each line if there are more
        than this in the array. If the values are floats, or another data type
        with a fixed width of data output, then they are aligned in columns.
  
        Args:
           name: An optional string giving the tag name. Defaults to "".
           indent: An optional string giving the string to be added to the start
              of the line, so usually a number of tabs. Defaults to "".
  
        Returns:
           A string giving the stored value in the appropriate xml format.
docstring_summary: Writes data in xml file format.
docstring_tokens: Writes data in xml file format .
function: def write(self, name="", indent=""):
        """Writes data in xml file format.
  
        Writes the data in the appropriate format between appropriate tags. Note
        that only ELPERLINE values are printed on each line if there are more
        than this in the array. If the values are floats, or another data type
        with a fixed width of data output, then they are aligned in columns.
  
        Args:
           name: An optional string giving the tag name. Defaults to "".
           indent: An optional string giving the string to be added to the start
              of the line, so usually a number of tabs. Defaults to "".
  
        Returns:
           A string giving the stored value in the appropriate xml format.
        """
  
        rstr = ""
        if (len(self.value) > ELPERLINE):
           rstr += "\n" + indent + " [ "
        else:
           rstr += " [ " #inlines the array if it is small enough
  
        for i, v in enumerate(self.value):
           if (len(self.value) > ELPERLINE and i > 0 and i%ELPERLINE == 0):
              rstr += "\n" + indent + "   "
           rstr += write_type(self.type, v) + ", "
  
        rstr = rstr.rstrip(", ") #get rid of trailing commas
        if (len(self.value) > ELPERLINE):
           rstr += " ]\n"
        else:
           rstr += " ] "
  
        return Input.write(self, name=name, indent=indent, text=rstr)
function_tokens: def write ( self , name = "" , indent = "" ) : rstr = "" if ( len ( self . value ) > ELPERLINE ) : rstr += "\n" + indent + " [ " else : rstr += " [ " #inlines the array if it is small enough for i , v in enumerate ( self . value ) : if ( len ( self . value ) > ELPERLINE and i > 0 and i % ELPERLINE == 0 ) : rstr += "\n" + indent + "   " rstr += write_type ( self . type , v ) + ", " rstr = rstr . rstrip ( ", " ) #get rid of trailing commas if ( len ( self . value ) > ELPERLINE ) : rstr += " ]\n" else : rstr += " ] " return Input . write ( self , name = name , indent = indent , text = rstr )