# I3DShComponentOwner Struct Reference
[Shell Interfaces]

Inheritance diagram for I3DShComponentOwner:

List of all members.

## Public Member Functions
virtual void MCCOMAPI | SetComponent (IShParameterComponent *component, IDType familyID, ECloneMode cloneMode)=0
virtual void MCCOMAPI | GetComponent (IShParameterComponent **component, IDType familyID, IDType classID)=0

## Detailed Description

This interface is supported by certain objects that have sub components (tree elements, scenes...) It provides a generic way to access those sub components.

## Member Function Documentation

virtual void MCCOMAPI I3DShComponentOwner::GetComponent | ( | IShParameterComponent ** | component,
|  | IDType | familyID,
|  | IDType | classID |
| ) |  |  | `[pure virtual]`

Returns a pointer to a sub component.

Parameters:

  | component | A pointer to the component.
  | familyID | The family ID to which the component belongs.
  | classID | The clone mode (see ECloneMode)

virtual void MCCOMAPI I3DShComponentOwner::SetComponent | ( | IShParameterComponent * | component,
|  | IDType | familyID,
|  | ECloneMode | cloneMode |
| ) |  |  | `[pure virtual]`

Sets a sub component.

Parameters:

  | component | A pointer to the component.
  | familyID | The family ID to which the component belongs.
  | cloneMode | The clone mode (see ECloneMode)

The documentation for this struct was generated from the following file:

- I3DShComponentOwner.h