Package stocks3 :: Package core :: Module default :: Class Default
[hide private]
[frames] | no frames]

Class Default

source code


Instance Methods [hide private]
 
makeConfig(self)
Должна быть переопределена в дочерних классах.
source code
 
__init__(self) source code
 
getDefaultCalculators(self) source code
 
getDefaultPlace(self) source code

Inherited from config.Configurable: createObjects, readBool, readFloat, readInt, readString

Class Variables [hide private]
  DEFAULT_TIMEZONE = "Europe/Moscow"
  DEFAULT_XML = "config/default.xml"
Method Details [hide private]

makeConfig(self)

source code 

Должна быть переопределена в дочерних классах. Собственна эта функция и загружает конфигурацию из переданной нам ветки self.node.

Overrides: config.Configurable.makeConfig
(inherited documentation)

__init__(self)
(Constructor)

source code 
Parameters:
  • tree - XML-дерево.
  • node - XML-узел с конфигурацией для данного объекта.
Overrides: config.Configurable.__init__
(inherited documentation)