company logo

BaseContext :: input - Get system input

The Input function passes the request to the application context, when being set. Otherwise, it calls the SystemIO (system input/output services) in order to process the input request (typically stdin).

The application context may overload the input() function in order to provide application specific input functionality.

When the context handle does not refer to a valid context instance the function throws an exception.

Return value:  String value ( odaba::String & )

Implementation details

odaba::String BaseContext  :: input ( odaba::String &sString )

When no application context (Application::context()) has been set, the, input is read from console input (stdin). Otherwise, the application context provides input data.

  • sString - String value