Public Member Functions | List of all members
MenuItemPredicate Class Referenceabstract

#include <MenuIterator.h>

Inheritance diagram for MenuItemPredicate:
MenuItemTypePredicate RemoteNoMenuItemPredicate

Public Member Functions

virtual bool matches (MenuItem *item)=0

Detailed Description

A predicate that can match upon a menu item, the match is generally performed by calling the match method, which returns true for a match.

Member Function Documentation

◆ matches()

virtual bool MenuItemPredicate::matches ( MenuItem item)
pure virtual

This method is used to determine if a given menuitem given by item matches the predicate

itemthe item to be checked for a match.
true if there is a match, false otherwise.

Implemented in MenuItemTypePredicate, and RemoteNoMenuItemPredicate.

The documentation for this class was generated from the following file: