GUIBaseContext :: highContextExist - Check parent context instance
The function checks, whether the next higher context depending on its name or type exists ( true ) or not ( false ).
A State true indicates, that the function was executed successfully. Otherwise state is false .
Implementation overview
- Check parent context
GUIBaseContext :: highContextExist (  ) - Check high context by resource name
GUIBaseContext :: highContextExist ( sResource ) - Check high context by name and type
GUIBaseContext :: highContextExist ( sResource, eContextType ) - Check high context by type
GUIBaseContext :: highContextExist ( eContextType )
Implementation details
-
Check parent context
bool GUIBaseContext  :: highContextExist (  )
The function checks, whether the context has a parent context ( true ) or not ( false ).
to list
-
Check high context by resource name
bool GUIBaseContext  :: highContextExist ( odaba::String &sResource )
The function checks whether the next higher context with the name passed in sResource (window or field name) exists ( true ) or not ( false ).
- sResource
- Name of resoure
"ok_button" // button in the current window
"address.street" // line edit in the address subwindow
".name" // line edit in the upper control (window)
to list
- sResource
- Name of resoure
-
Check high context by name and type
bool GUIBaseContext  :: highContextExist ( odaba::String &sResource, odaba::ContextTypes eContextType )
The function checks whether the next higher context with the tape passed in eContextType and the name passed in sResource (window or field name) exists ( true ) or not ( false ).
- sResource
- Name of resoure
"ok_button" // button in the current window
"address.street" // line edit in the address subwindow
".name" // line edit in the upper control (window)
- eContextType
- Context type
The context type contains the system type of the context instance.
to list
- sResource
- Name of resoure
-
Check high context by type
bool GUIBaseContext  :: highContextExist ( odaba::ContextTypes eContextType )
The function returns whether the next higher context with the type passed in eContextType exists ( true ) or not ( false ).
- eContextType
- Context type
The context type contains the system type of the context instance.
to list
- eContextType
- Context type