KnowledgeInterfaces Interface 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 Knowledge type of an object that can be manipulated in Knowledgeware.
Role: This Knowledge type is shown to the user but does not necessarily
reflect the internal structure of an object : as such, it is
an exposed type.
for the Knowledge.
A Knowledge type is defined by an internal name and a NLS name that is shown to
the user.
A Knowledge type is created by applications through CATITypeDictionary services.
This interface is multi implemented.
Most of the time a Knowledge type also implements CATIAttributesDescription as soon as it holds attributes.
- See also:
- , , ,
Method Index
- o
IsaSortOf(CATIType_var&)
- Tests if this Knowledge type is a subtype of (derives from) the given one.
- o
Name()
- Returns the name of the Knowledge type (internal identifier).
- o
ScanSubTypes(CATListValCATIType_var&)
- Scans the direct sub types.
- o
SuperType()
- Returns the supertype (the type this type derives).
- o
UserName()
- Returns the NLS name of the Knowledge type.
Methods
o IsaSortOf
public virtual IsaSortOf( | const | iType) |
-
Tests if this Knowledge 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
-
Returns the name of the Knowledge 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 ScanSubTypes
public virtual ScanSubTypes( | | olListOfTypes) |
-
Scans the direct sub types.
- Parameters:
-
- olListOfTypes
- list to be filled with sub types.
- Returns:
- S_OK if scan has succeeded;
o SuperType
public virtual SuperType( | ) |
-
Returns the supertype (the type this type derives).
An AddRef is done.
- Returns:
- [CATBaseUnknown#Release] the supertype.
o UserName
public virtual UserName( | ) |
-
Returns the NLS name of the Knowledge 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 © 1999-2015, Dassault Systèmes. All rights reserved.