BaseContext :: systemContext - Application context property
The property returns the application context. Setting the proper system context allows controlling standard input and message output operations and provides facilities for running environment specific functions (like log-in) depending on the application type.
When no context has been set as system context, an exception will be thrown.
When the current context handle does not refer to a valid context instance the property throws an exception.
The function is obsolete. Use Application ::context() , instead. Function will be removed in version 13.
Implementation overview
- Get application context
BaseContext :: systemContext (  ) - Set application context
BaseContext :: systemContext ( rBaseContext )
Implementation details
-
Get application context
odaba::BaseContext & BaseContext  :: systemContext (  )
The property returns the application context. When no context has been set as application context, an exception will be thrown. In order to check, whether an application context exists, hasSystemContext() might be called.
When the current context handle does not refer to a valid context instance the property throws an exception.
to list
-
Set application context
odaba::BaseContext & BaseContext  :: systemContext ( odaba::BaseContext &rBaseContext )
The function sets the context passed in rBaseContext as application context. In order to reset the application context resetSystemContext() has to be called.
When the context handle passed does not refer to a valid context instance the property throws an exception.
- rBaseContext - Base context handle
to list