Public Member Functions

IIndirectRefTargContainer Class Reference

This reference page is linked to from the following overview topics: Indirect Reference Example.


Search for all occurrences

Detailed Description

The interface for a container of indirect references.

#include <IIndirectRefTargContainer.h>

Inheritance diagram for IIndirectRefTargContainer:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual SClass_ID  SuperClassID ()
  Retrieves a constant representing the type of the plugin.
virtual Class_ID  ClassID ()
  Retrieves a constant that uniquely identifies the plugin class.
virtual int  FindFirstItem (ReferenceTarget *refTargToFind) const =0
  Finds the first occurance of a given reference target in the container.

Member Function Documentation

virtual SClass_ID SuperClassID ( ) [inline, virtual]

Retrieves a constant representing the type of the plugin.

Returns:
A super class id that uniquely identifies the type (category) of the plugin. Note that several plugin classes can be of the same type, thus return the same super class id. Plugins are uniquely identified by their class ids. List of Super Class IDs.
See also:
SClass_ID

Reimplemented from ReferenceTarget.

{ return REF_TARGET_CLASS_ID; }
virtual Class_ID ClassID ( ) [inline, virtual]

Retrieves a constant that uniquely identifies the plugin class.

This method must return the unique ID for the plugin class. If two ClassIDs conflict, the system will only load the first conflicting one it finds. A program (gencid.exe) is provided to generate unique class id values.

Returns:
A class id that uniquely identifies a plugin class
See also:
Class ClassID, List of Class IDs.

Reimplemented from Animatable.

{ return INDIRECT_REFTARG_CONTAINER_CLASS_ID; } 
virtual int FindFirstItem ( ReferenceTarget refTargToFind ) const [pure virtual]

Finds the first occurance of a given reference target in the container.


IIndirectRefTargContainer IIndirectRefTargContainer IIndirectRefTargContainer IIndirectRefTargContainer IIndirectRefTargContainer IIndirectRefTargContainer IIndirectRefTargContainer IIndirectRefTargContainer IIndirectRefTargContainer IIndirectRefTargContainer
IIndirectRefTargContainer IIndirectRefTargContainer IIndirectRefTargContainer IIndirectRefTargContainer IIndirectRefTargContainer IIndirectRefTargContainer IIndirectRefTargContainer IIndirectRefTargContainer IIndirectRefTargContainer IIndirectRefTargContainer