Class ItemID

3DS Max Plug-In SDK

Class ItemID

See Also: Class IMenu, Class IMenuItem , Class IMenuGlobalContext

class ItemID

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:

public:

IMenu* mpMenu;

IMenuItem* mpItem;

Methods:

public:

Prototype:

ItemID();

Remarks:

This method is used internally.

Constructor. Initialized mpMenu(NULL) and mpItem(NULL).

Default Implementation:

{ }

Prototype:

void Null();

Remarks:

This method is used internally.

Set mpMenu = NULL and mpItem = NULL.

Prototype:

friend bool operator==(ItemID& a, ItemID& b);

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.

Prototype:

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

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); }