Main Page   Modules   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages  

IContainerKey Struct Reference

#include <hyp.fem.interfaces.h>

Inheritance diagram for IContainerKey::

CContainer List of all members.

Public Methods

virtual void Add (hyp_ker::IUnknown *pObject, const t_label &Label)=0
virtual void Remove (const t_label &Label)=0
virtual hyp_ker::IUnknown * GetContent (const t_label &Label)=0
virtual t_label GetKey (hyp_ker::IUnknown *pObject)=0
virtual void SetKey (hyp_ker::IUnknown *pObject, const t_label &Label)=0

Detailed Description

Because the IContainer doesn't provide service to get back a reference to the component previoulsy inserted, several interfaces have been provided. IContainerKey, an Oriented-Container Interface, enables to associate to each inserted component a unique number called Container Label.
Invariants
Here are the listing of the invariants. The implementation have to follow these invariant.
Key words
See also the following key words:
IID
Here is the Interface Identifier (IID) of the interface:


Member Function Documentation

virtual void IContainerKey::Add hyp_ker::IUnknown *   pObject,
const t_label &   Label
[pure virtual]
 

Adds a component to the container.

Parameters:
pObject   Inserted component
Label   ContainerLabel of the inserted component

Reimplemented in CContainer.

virtual hyp_ker::IUnknown* IContainerKey::GetContent const t_label &   Label [pure virtual]
 

Returns a reference to a component.

Parameters:
Label   ContainerLabel of the accessed component

Reimplemented in CContainer.

virtual t_label IContainerKey::GetKey hyp_ker::IUnknown *   pObject [pure virtual]
 

Returns the ContainerLabel of a component.

Parameters:
pObject   Component associated to the ContainerLabel

Reimplemented in CContainer.

virtual void IContainerKey::Remove const t_label &   Label [pure virtual]
 

Removes a component from the container.

Parameters:
Label   ContainerLabel of the removed component

Reimplemented in CContainer.

virtual void IContainerKey::SetKey hyp_ker::IUnknown *   pObject,
const t_label &   Label
[pure virtual]
 

Modifies the label of an inserted component.

Parameters:
pObject   Component
Label   New ContainerLabel

Reimplemented in CContainer.


The documentation for this struct was generated from the following file:
Top of Page
written by Pierre Rebours © 2000-2001. Terms of Use.