Package conary :: Package dbstore :: Class CfgDriver
[hide private]
[frames] | no frames]

Class CfgDriver

source code

          object --+    
                   |    
lib.cfgtypes.CfgType --+
                       |
                      CfgDriver

Instance Methods [hide private]
 
parseString(self, str)
Parse the given value.
source code
 
format(self, val, displayOptions=None)
Return a formated version of val in a format determined by displayOptions.
source code

Inherited from lib.cfgtypes.CfgType: copy, getDefault, set, setFromString, toStrings, updateFromString

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

Class Variables [hide private]

Inherited from lib.cfgtypes.CfgType: default

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

parseString(self, str)

source code 
Parse the given value. The return value should be as is expected to be assigned to a configuration item.
Overrides: lib.cfgtypes.CfgType.parseString
(inherited documentation)

format(self, val, displayOptions=None)

source code 
Return a formated version of val in a format determined by displayOptions.
Overrides: lib.cfgtypes.CfgType.format
(inherited documentation)