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

CGeometricBase Class Reference

#include <hyp.data.base.h>

Inheritance diagram for CGeometricBase::

IGeometricBase List of all members.

Common Functions

See the Hyperion Pattern.

 CGeometricBase (hyp_ker::IUnknown *)
virtual ~CGeometricBase ()
virtual hyp_DECLARE_IUNKNOWN
hyp_ker::com_result 
NondelegatingQueryInterface (const hyp_ker::hypIID &, void **)
hyp_ker::com_result Init (void)
void FinalRelease (void)
hyp_ker::com_result CreateInstance (hyp_ker::IUnknown *,hyp_ker::CUnknown **)

IGeometricSide Interface

virtual t_size GetNumberOfVertices ()
virtual IGeometricVertexGetVertex (const t_label &)
virtual IGeometricVertexGetVertex (const t_real &,const t_real &,const t_real &)
virtual t_label GetLabel (IGeometricVertex *)
virtual void AddVertex (IGeometricVertex *, const t_label &)
virtual void DeleteVertex (const t_label &)
virtual IContainerKeyGetContainerOfVertices ()
virtual void SetFilter (const hyp_ker::hypIID *)
virtual void ClearFilter ()

Detailed Description

This is the default implementation of the interface IGeometricBase.
CLSID
Here are the Class Indetifiers (CLSID) supported by the class:
Supported Interfaces
Here is the interfaces which are supported by the component.

    hyp_ker::com_result CGeometricBase::NondelegatingQueryInterface(const hyp_ker::hypIID& iid,void** ppv)
    {
            if(iid==IID_hypIGeometricBase) {
                    return FinishQI(static_cast<IGeometricBase*>(this),ppv);
            } else if(iid==IID_hypIContainerKey ||
                    iid==IID_hypIContainerIterator ||
                    iid==IID_hypIContainer) {
                    return m_spUnknownCont->QueryInterface(iid,ppv);
            } else {
                    return CUnknown::NondelegatingQueryInterface(iid,ppv);
            }
    }
    //DOXYTAG
Implementation Details


Member Function Documentation

void CGeometricBase::AddVertex IGeometricVertex *   pObject,
const t_label &   Label
[virtual]
 

Adds a vertex to the IGeometricBase object.

Parameters:
pVertex   Vertex which is added
Label   Vertex Label of the new inserted vertex

Reimplemented from IGeometricBase.

void CGeometricBase::ClearFilter   [virtual]
 

Clears the filter.

Reimplemented from IGeometricBase.

void CGeometricBase::DeleteVertex const t_label &   Label [virtual]
 

Deletes the vertex associated to the IGeometricBase object

Reimplemented from IGeometricBase.

IContainerKey * CGeometricBase::GetContainerOfVertices   [virtual]
 

Gives the IContainerKey objects which handles the vertices.

Remarks:
The implmentation is not strongly imposed to implement this service.

Reimplemented from IGeometricBase.

t_label CGeometricBase::GetLabel IGeometricVertex *   pObject [virtual]
 

Gets the label of the vertex.

Invariant:
The implementation generate an error if the vertex is not associated with the IGeometricBase object.

Reimplemented from IGeometricBase.

t_size CGeometricBase::GetNumberOfVertices   [virtual]
 

Gets the number of the associated vertices.

Reimplemented from IGeometricBase.

IGeometricVertex * CGeometricBase::GetVertex const t_real &   X,
const t_real &   Y,
const t_real &   Z
[virtual]
 

Gets the vertex which has the specified coordinates.

Parameters:
X   Coordinate of the vertex along the X-axe
Y   Coordiante of the vertex along the Y-axe
Z   Coodinate of the vertex along the Z-axe

Reimplemented from IGeometricBase.

IGeometricVertex * CGeometricBase::GetVertex const t_label &   Label [virtual]
 

Gets the vertex which has the specified label.

Parameters:
Label   Vertex Label of the vertex

Reimplemented from IGeometricBase.

void CGeometricBase::SetFilter const hyp_ker::hypIID *   pIID [virtual]
 

Adds a new filter. If the user want inserted a new vertex afterwards, a error will be generated only whether the vertex doesn't support all the interfaces of the filter.

Remarks:
The implementation could memorize the last call of this service.
Parameters:
pIID   pointer to the Interface ID

Reimplemented from IGeometricBase.


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