All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

SDMRuntime Class SdaiEntity

SDMRuntime.SdaiRoot
  |
  +---SDMRuntime.SdaiEntityInstance
    |
    +---SDMRuntime.SdaiInstance
      |
      +---SDMRuntime.SdaiDictionaryInstance
        |
        +---SDMRuntime.SdaiAbstractType
          |
          +---SDMRuntime.SdaiAbstractBaseType
            |
            +---SDMRuntime.SdaiNamedType
              |
              +---SdaiEntity
 

Usage: you must use this class as is. You should never derive it.


public class SdaiEntity

Class representing an SDAI entity.


Method Index


o Attributes()
Gets the list of attributes defined on a SdaiEntity.
o CreateEntityInstance(SdaiModelH)
Creates an AppInstance in a SdaiModel.
o GetInstanceTypeName()
Gets the type of an SdaiEntity if an SdaiEntity is a of a specific type.
o IsKindOf(SdaiString&)
Tests if an SdaiEntity is a of a specific type.
o IsSubtypeOf(SdaiEntityH&)
Tests if an SdaiEntity is a sub type of another one.

Methods


o Attributes
public const SDAIAGGRH(SdaiList,SdaiAttrH) Attributes()const
Gets the list of attributes defined on a SdaiEntity.
Returns:
The list of attributes
o CreateEntityInstance
public SdaiAppInstanceH CreateEntityInstance(SdaiModelH ioModel) const
Creates an AppInstance in a SdaiModel.
Parameters:
ioModel
- the target SdaiModel
Returns:
The AppInstance created
o GetInstanceTypeName
public virtual const SdaiString& GetInstanceTypeName()const
Gets the type of an SdaiEntity if an SdaiEntity is a of a specific type.
Returns:
The type of the SdaiEntity
o IsKindOf
public virtual const SdaiBoolean& IsKindOf( const SdaiString& iTypeName)const
Tests if an SdaiEntity is a of a specific type.
Parameters:
iTypeName
- the type to check with
o IsSubtypeOf
public const SdaiBoolean& IsSubtypeOf( const SdaiEntityH& )const
Tests if an SdaiEntity is a sub type of another one.
Parameters:
SdaiEntityH
- the SdaiEntity to compare with

This object is included in the file: SdaiEntity.h
If needed, your Imakefile.mk should include the module: CATSrtSessionMgmt

Copyright © 2003, Dassault Systèmes. All rights reserved.