IMFPartSwitcher Struct Reference
[MCFrame]

Inheritance diagram for IMFPartSwitcher:
IMCUnknown

List of all members.

Public Member Functions

virtual IMFPart *MCCOMAPI GetThisPart ()=0
virtual int32 MCCOMAPI GetPartsCount () const =0
virtual void MCCOMAPI SetParts (const TMCCountedPtrArray< IMFPart > &inParts)=0
virtual void MCCOMAPI InsertPart (int32 insertPos, IMFPart *inPart)=0
virtual void MCCOMAPI RemoveParts (int32 index, int32 count)=0
virtual void MCCOMAPI ShowPart (int32 inPartIndex)=0
virtual IMFPart *MCCOMAPI GetShownPart ()=0

Detailed Description

IMFPartSwitcher is a node part that keeps a list of (some) of it child parts and shows only one of them. It is very similar to tabs. When you add parts, they IMFPartSwitcher becomes their owner and will destroy them when they are removed When you add or remove part through this interface, they will be automatically added/removed as child of the IMFPartSwitcher.

Inserted/added parts are set to invisible and disabled

Note that IMFPartSwitcher should also support Get/SetValue() with kInt32ValueType to switch the shown page


Member Function Documentation

virtual int32 MCCOMAPI IMFPartSwitcher::GetPartsCount (  )  const [pure virtual]
virtual IMFPart* MCCOMAPI IMFPartSwitcher::GetShownPart (  )  [pure virtual]
virtual IMFPart* MCCOMAPI IMFPartSwitcher::GetThisPart (  )  [pure virtual]
virtual void MCCOMAPI IMFPartSwitcher::InsertPart ( int32  insertPos,
IMFPart inPart 
) [pure virtual]
virtual void MCCOMAPI IMFPartSwitcher::RemoveParts ( int32  index,
int32  count 
) [pure virtual]
virtual void MCCOMAPI IMFPartSwitcher::SetParts ( const TMCCountedPtrArray< IMFPart > &  inParts  )  [pure virtual]
virtual void MCCOMAPI IMFPartSwitcher::ShowPart ( int32  inPartIndex  )  [pure virtual]

The documentation for this struct was generated from the following file:
Generated on Mon Apr 26 22:47:49 2010 for Carrara SDK Doc by  doxygen 1.6.3