All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

KnowledgeInterfaces Interface CATIType

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---CATIType
 

Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.


interface CATIType

Interface dedicated to describing the type of an instance.
Role: This type is shown to the user but does not necessarily reflect the internal structure of an instance : as such, it is an exposed type.
A type is defined by an internal name and a NLS name that is shown to the user.
A type is created through CATITypeDictionary services.

See also:
CATIInstance
See also:
CATITypeDictionary


Method Index


o IsaSortOf(CATIType_var&)
Tests if this type is a subtype of (derives from) the given one.
o Name()
Returns the name of the type (internal identifier).
o SuperType()
Returns the supertype (the type this type derives).
o UserName()
Returns the NLS name of the type.

Methods


o IsaSortOf
public virtual boolean IsaSortOf( const CATIType_var& iType) const = 0
Tests if this type is a subtype of (derives from) the given one.
Parameters:
iType
type to compared to.
Returns:
True if this type is a subtype of the other, else False.
o Name
public virtual CATUnicodeString Name()const =0
Returns the name of the type (internal identifier). This name is the one used to find a type by its name in CATITypeDictionary services.
Returns:
internal name of the type.
o SuperType
public virtual CATIType* SuperType()const = 0
Returns the supertype (the type this type derives). An AddRef is done.
Returns:
the supertype.
o UserName
public virtual CATUnicodeString UserName()const = 0
Returns the NLS name of the type.
Returns:
NLS name of the type.

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

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