Public Member Functions

SelectFilterCallback Class Reference

Search for all occurrences

Detailed Description

See also:
Class InterfaceServer, Class Interface.

Description:
This is a call-back class for the selection filter drop down in the tab panel. This allows plug-ins to add additional filters to this list.

#include <maxapi.h>

Inheritance diagram for SelectFilterCallback:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual MCHAR *  GetName ()=0
virtual BOOL  IsFiltered (SClass_ID sid, Class_ID cid, INode *node)=0

Member Function Documentation

virtual MCHAR* GetName ( ) [pure virtual]
Remarks:
Returns the name of the filter that will appear in the drop down list in the tab panel.

Implemented in MSSelectFilterCallback.

virtual BOOL IsFiltered ( SClass_ID  sid,
Class_ID  cid,
INode node 
) [pure virtual]
Remarks:
This is the method that does the filtering of the node. It returns TRUE if the node may be selected; FALSE if it is not selectable.
Parameters:
SClass_ID sid

The Super Class ID of the node.

Class_ID cid

The Class ID of the node.

INode *node

Points to the node to check.

Implemented in MSSelectFilterCallback.


SelectFilterCallback SelectFilterCallback SelectFilterCallback SelectFilterCallback SelectFilterCallback SelectFilterCallback SelectFilterCallback SelectFilterCallback SelectFilterCallback SelectFilterCallback
SelectFilterCallback SelectFilterCallback SelectFilterCallback SelectFilterCallback SelectFilterCallback SelectFilterCallback SelectFilterCallback SelectFilterCallback SelectFilterCallback SelectFilterCallback