RAVE
Lib.area_registry.area_registry Class Reference

Area registry wrapper. More...

Inheritance diagram for Lib.area_registry.area_registry:

Public Member Functions

 __init__ (self, areg=AREA_REGISTRY, preg=PROJECTION_REGISTRY)
 Default sonstructor.
 
 reload (self)
 Reloads everything from the area registry.
 
 getarea (self, areaid)
 Returns the wanted area if found, otherwise an exception will be thrown.
 
 get_area_names (self)
 Returns all registered area ids.
 

Protected Member Functions

 _loadarea (self, areaid)
 Loads the spcific area if it can be found in the projection registry.
 

Static Protected Attributes

dict _registry = {}
 
 _arearegistryconfig = AREA_REGISTRY
 
 _projregistryconfig = PROJECTION_REGISTRY
 

Detailed Description

Area registry wrapper.

Constructor & Destructor Documentation

◆ __init__()

Lib.area_registry.area_registry.__init__ ( self,
areg = AREA_REGISTRY,
preg = PROJECTION_REGISTRY )

Default sonstructor.

Member Function Documentation

◆ _loadarea()

Lib.area_registry.area_registry._loadarea ( self,
areaid )
protected

Loads the spcific area if it can be found in the projection registry.

◆ get_area_names()

Lib.area_registry.area_registry.get_area_names ( self)

Returns all registered area ids.

◆ getarea()

Lib.area_registry.area_registry.getarea ( self,
areaid )

Returns the wanted area if found, otherwise an exception will be thrown.

◆ reload()

Lib.area_registry.area_registry.reload ( self)

Reloads everything from the area registry.


The documentation for this class was generated from the following file: