company logo

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).

Return value:  State of function return ( bool  )

A State true indicates, that the function was executed successfully. Otherwise state is false.

Implementation details

  1. 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.

  2. to list
  3. Check parent context
    bool GUIBaseContext  :: highContextExist (  )

    The function checks, whether the context has a parent context (true) or not (false).

  4. to list
  5. 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)

  6. to list
  7. 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.

  8. to list