Package utility :: Module ColumnConvertUtility :: Class ColumnConvertUtility
[show private | hide private]
[frames | no frames]

Class ColumnConvertUtility

Singleton --+
            |
           ColumnConvertUtility


Class used to convert int columns to string and vice-versa.
Method Summary
  __init__(self)
  intToString(self, integer)
Invert function of stringToInt()
  stringToInt(self, col)
Function used to transform strings used cell column references (e.g.

Class Variable Summary
Callable getInstance = <utility.ColumnConvertUtility.Callable ins...

Method Details

intToString(self, integer)

Invert function of stringToInt()
Parameters:
integer - column value to be converted to a string
           (type=int)

Requires: integer>=0

stringToInt(self, col)

Function used to transform strings used cell column references (e.g. A5) to integers for efficiency reasons. Note that 0 are removed from possible integers to avoid ambiguity. (i.e. if "A" is converted to 0, then "AAA"=000=0, but "A" != "AAA").
Parameters:
col - column to be converted
           (type=string)

Class Variable Details

getInstance

Type:
Callable
Value:
<utility.ColumnConvertUtility.Callable instance at 0xf6fbc72c>         

Generated by Epydoc 2.1 on Tue Aug 17 18:20:06 2004 http://epydoc.sf.net