GazeParser.Configuration - holds GazeParser parameters

class GazeParser.Configuration.Config(ConfigFile=None)

Create GazeParser.Configuration.Config object.

パラメータ

ConfigFile (str) -- constructor reads parameters from this file. If None, constructor firstly try to read GazeParser.cfg in the configuration directory. If GazeParser.cfg is not found in the configuration directory, then read GazeParser.cfg in the application directory. Default value is None.

getParametersAsDict()

Get parameters as a dict object.

printParameters()

Print all parameters holded in this object.

save(ConfigFile=None)

Save configuration to a file.

パラメータ

ConfigFile (str) -- File name to which configuration is saved. If None, a file name from which parameters were read when constructing this object. Defaut value is None.