Class Interface_ID

3DS Max Plug-In SDK

Class Interface_ID

See Also: Class FPInterface, Function Publishing System.

class Interface_ID

Description:

This class is available in release 4.0 and later only.

This class is the interface ID for the Function Publishing System of 3ds max. This class is structurally very similar to a Class_ID, containing two randomly-chosen longwords to provide a unique global ID. The various constructors assign a value to each of these. There are also methods to assign and retrieve the individual parts and operators to check for equality or inequality.

All the methods of this class are implemented by the system.

Methods:

public:

Prototype:

Interface_ID();

Remarks:

Constructor. The two parts of the ID are initialized to 0xffffffff.

Prototype:

Interface_ID(const Interface_ID& iid);

Remarks:

Constructor. The two parts of the ID are initialized from the corresponding parts of the Interface_ID passed.

Parameters:

const Interface_ID& iid

The ID whose parts are used to initialize this ID.

Prototype:

Interface_ID(ulong aa, ulong bb);

Remarks:

Constructor. The two parts of the ID are initialized from the from the parts passed.

 

Parameters:

ulong aa

Passed to initialize the first part of the ID.

ulong bb

Passed to initialize the second part of the ID.

Prototype:

ULONG PartA();

Remarks:

Returns the first part of the ID.

Prototype:

ULONG PartB();

Remarks:

Returns the second part of the ID.

Prototype:

void SetPartA( ulong aa );

Remarks:

Sets the first part of the ID.

Parameters:

ulong aa

Passed to set the first part.

Prototype:

void SetPartB( ulong bb );

Remarks:

Sets the second part of the ID.

Parameters:

ulong bb

Passed to set the second part.

Prototype:

int operator==(const Interface_ID& iid) const;

Remarks:

Equality operator. Returns nonzero if the two parts of the ID are equal to the ID passed; otherwise zero.

Parameters:

const Interface_ID& iid

The ID to check.

Prototype:

int operator!=(const Interface_ID& iid) const;

Remarks:

Inequality operator. Returns nonzero if either of the parts of the ID are NOT equal to the ID passed; otherwise zero.

Parameters:

const Interface_ID& iid

The ID to check.

Prototype:

Interface_ID& operator=(const Interface_ID& iid);

Remarks:

Assignment operator.

Parameters:

const Interface_ID& iid

The ID to assign from.