Public Member Functions

PickClassCallback Class Reference

This reference page is linked to from the following overview topics: SDK Change Details.


Search for all occurrences

Detailed Description

See also:
Class Interface13.

Description:
This allows added filtering of Classes that the user will be able to choose from in Interface13::DoPickClassDlg() below. If an instance is passed to DoPickClassDlg(), it is called for each candidate Class found that matches the passed SClass_ID. If IsValidClassDesc() returns true, the Class will be added to the dialog's list for the user to choose from.

#include <maxapi.h>

Inheritance diagram for PickClassCallback:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual  ~PickClassCallback ()
  Destructor.
virtual bool  IsValidClassDesc (ClassDesc *candidateClassDesc)=0
  Filters classes to display in the UI.

Constructor & Destructor Documentation

virtual ~PickClassCallback ( ) [inline, virtual]

Destructor.

{;}

Member Function Documentation

virtual bool IsValidClassDesc ( ClassDesc candidateClassDesc ) [pure virtual]

Filters classes to display in the UI.

This method should return true if the class passed is acceptable to list, false otherwise.

Parameters:
[in] candidateClassDesc The candidate class
Returns:
Return true if this is an acceptable class, false otherwise.

PickClassCallback PickClassCallback PickClassCallback PickClassCallback PickClassCallback PickClassCallback PickClassCallback PickClassCallback PickClassCallback PickClassCallback
PickClassCallback PickClassCallback PickClassCallback PickClassCallback PickClassCallback PickClassCallback PickClassCallback PickClassCallback PickClassCallback PickClassCallback