| Config.hx | |
| ModuleInfo | Container for storing information about loaded modules |
| Variables | |
| version | Version string of the module. |
| module | Module instance |
| Config | Configuration and module management class. |
| Functions | |
| new | Constructor. |
| load | Loads configuration file. |
| getModule | Returns the module instance for the given namespace URI. |
| getModuleUri | Returns the namespace URI for a given module name. |
| initModule | Initializes the module for the given namespace URI. |
| initAllModules | Initializes all module instances requested so far. |
| modules | Returns an iterator over module URIs. |
Configuration and module management class.
| Functions | |
| new | Constructor. |
| load | Loads configuration file. |
| getModule | Returns the module instance for the given namespace URI. |
| getModuleUri | Returns the namespace URI for a given module name. |
| initModule | Initializes the module for the given namespace URI. |
| initAllModules | Initializes all module instances requested so far. |
| modules | Returns an iterator over module URIs. |
Version string of the module.
var version: String
Module instance
var module: SamHaXeModule
Constructor.
public function new( supported_versions: Array<String>, moduleServices : String -> Dynamic )
Loads configuration file.
public function load( config_file: String )
Returns the module instance for the given namespace URI.
public function getModule( uri: String ): SamHaXeModule
Returns the namespace URI for a given module name.
public function getModuleUri( module_name: String ): String
Initializes the module for the given namespace URI.
public function initModule( uri: String )
Initializes all module instances requested so far.
public function initAllModules()
Returns an iterator over module URIs.
public function modules(): Iterator<String>