All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

SDMRuntime Class SdaiEntityInstance

SDMRuntime.SdaiRoot
  |
  +---SdaiEntityInstance
 

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


public class SdaiEntityInstance

Class representing an instance of an SDAI entity_definition.


Method Index


o GetAttr(SdaiString&)
Gets the value of an attribute.
o GetInstanceType()
Gets the name of the type of a SdaiEntityInstance.
o IsInstanceOf(SdaiString&)
Tests if an SdaiEntityInstance is an instance of a given type.
o IsKindOf(SdaiString&)
Tests if an SdaiEntityInstance is of a given type.
o TestAttr(SdaiString&)
Tests if an attribute has a valid value.

Methods


o GetAttr
public virtual const SdaiPrimitiveH & GetAttr( const SdaiString& attName)const
Gets the value of an attribute.
Parameters:
attName
- the name of the attribute
o GetInstanceType
public virtual const SdaiNamedTypeH GetInstanceType()const
Gets the name of the type of a SdaiEntityInstance.
o IsInstanceOf
public virtual const SdaiBoolean & IsInstanceOf( const SdaiString& typeName)const
Tests if an SdaiEntityInstance is an instance of a given type.
Parameters:
typeName
- the type to check with
o IsKindOf
public virtual const SdaiBoolean & IsKindOf( const SdaiString& typeName)const
Tests if an SdaiEntityInstance is of a given type.
Parameters:
typeName
- the type to check with
o TestAttr
public virtual const SdaiBoolean & TestAttr( const SdaiString& att_name)const
Tests if an attribute has a valid value.
Parameters:
att_name
- the name of the attribute

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

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