All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

SDMRuntime Class SdaiModel

SDMRuntime.SdaiRoot
  |
  +---SDMRuntime.SdaiEntityInstance
    |
    +---SDMRuntime.SdaiInstance
      |
      +---SDMRuntime.SdaiSessionInstance
        |
        +---SdaiModel
 

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


public class SdaiModel

Class representing a set of SDAI instances corresponding to a given schema.


Method Index


o COWing()
This is used to determine if this SdaiModel has Copy-On-Write enabled.
o CloseModel()
Closes a SdaiModel
o GetEntityDefinition(SdaiString&)
Gets the definition of a type as an entity in a SdaiModel.
o GetEntityExtent(SdaiString&)
Gets all instances of a given type (and its sub types) in a SdaiModel.
o IsChanged()
Tests if a SdaiModel has been modified
o Name()
Gets the name of a SdaiModel.
o Underlying_schema()
Gets the SdaiSchema corresponding to a SdaiModel.

Methods


o COWing
public SdaiRoot::COWSupport COWing()const
This is used to determine if this SdaiModel has Copy-On-Write enabled.
o CloseModel
public virtual void CloseModel()= 0
Closes a SdaiModel
o GetEntityDefinition
public const SdaiEntityH GetEntityDefinition( const SdaiString& )const
Gets the definition of a type as an entity in a SdaiModel.
Parameters:
-
The type to describe
Returns:
- The SdaiEntity
o GetEntityExtent
public virtual const SDAIAGGRH(SdaiSet,SdaiEntityInstanceH) GetEntityExtent( const SdaiString& )const
Gets all instances of a given type (and its sub types) in a SdaiModel.
Returns:
- the list of SdaiEntityInstance
o IsChanged
public int IsChanged()const
Tests if a SdaiModel has been modified
Returns:
1 if Model has changed, 0 else.
o Name
public const SdaiString & Name()const
Gets the name of a SdaiModel.
Returns:
- the name of the model
o Underlying_schema
public const SdaiSchemaH Underlying_schema()const
Gets the SdaiSchema corresponding to a SdaiModel.

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

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