Public Member Functions | Public Attributes | Friends

ItemID Class Reference

Search for all occurrences

Detailed Description

See also:
Class IMenu, Class IMenuItem, Class IMenuGlobalContext

Description:
This class is available in release 4.0 and later only.

This class is used internally. Methods that are marked as internal should not be used.

Data Members:
IMenu* mpMenu;

IMenuItem* mpItem;

#include <imenus.h>

Inheritance diagram for ItemID:
Inheritance graph
[legend]

List of all members.

Public Member Functions

  ItemID ()
void  Null ()

Public Attributes

IMenu mpMenu
IMenuItem mpItem

Friends

bool  operator== (ItemID &a, ItemID &b)
bool  operator!= (ItemID &a, ItemID &b)

Constructor & Destructor Documentation

ItemID ( ) [inline]
Remarks:
This method is used internally.

Constructor. Initialized mpMenu(NULL) and mpItem(NULL).
Default Implementation:
{ }
: mpMenu(NULL), mpItem(NULL) { }

Member Function Documentation

void Null ( ) [inline]
Remarks:
This method is used internally.

Set mpMenu = NULL and mpItem = NULL.
{ mpMenu = NULL; mpItem = NULL; }

Friends And Related Function Documentation

bool operator== ( ItemID a,
ItemID b 
) [friend]
Remarks:
This method is used internally.

This operator tests for equality of two ItemID's.
Parameters:
ItemID& a, ItemID& b

The two ItemID's you wish to test for equality.
{
    if ( a.mpMenu  != b.mpMenu  ||
         a.mpItem  != b.mpItem )
        return false;
    else
        return true;
}
bool operator!= ( ItemID a,
ItemID b 
) [friend]
Remarks:
This method is used internally.

This operator tests for inequality of two ItemID's.
Parameters:
ItemID& a, ItemID& b

The two ItemID's you wish to test for inequality.
Default Implementation:
{ return !(a == b); }
{ return !(a == b); }

Member Data Documentation


ItemID ItemID ItemID ItemID ItemID ItemID ItemID ItemID ItemID ItemID
ItemID ItemID ItemID ItemID ItemID ItemID ItemID ItemID ItemID ItemID