DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
Public Member Functions | |
__init__ (self, conffwk, all=True) | |
update (self, conffwk) | |
update_dal (self, conffwk) | |
__getitem__ (self, key) | |
__str__ (self) | |
Public Attributes | |
dict | data = {} |
all = all | |
conffwk.schema.Cache.__init__ | ( | self, | |
conffwk, | |||
all = True ) |
Initializes the cache with information from the Configuration object. This method will browse for all declared classes in the Configuration object given as input and will setup the schema for all known classes. After this you can still update the cache using the update() method. Keyword parameters: conffwk -- The conffwk.Configuration object to use as base for the current cache. all -- A boolean indicating if I should store all the attributes and relations from a certain class or just the ones directly associated with a class.
Definition at line 331 of file schema.py.
conffwk.schema.Cache.__getitem__ | ( | self, | |
key ) |
conffwk.schema.Cache.__str__ | ( | self | ) |
conffwk.schema.Cache.update | ( | self, | |
conffwk ) |
Updates this cache with information from the Configuration object. This method will add new classes not yet know to this cache. Classes with existing names will not be added. No warning is generated (this should be done by the OKS layer in any case.
Definition at line 352 of file schema.py.
conffwk.schema.Cache.update_dal | ( | self, | |
conffwk ) |
Updates this cache with information for DAL. This method will add new DAL classes not yet know to this cache. Classes with existing DAL representations will not be touched.
Definition at line 369 of file schema.py.