KnowledgeInterfaces Interface CATICkeType

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


interface CATICkeType

Interface dedicated to Knowledge type management.
Role: This interface is used to classify objects that can be manipulated in Knowledgeware from their types.
It concerns types of values like String type, Real type, Boolean type and Integer type
or dimension types such as Angle type, Length type, etc...
that implement specifically CATICkeMagnitude
or enumerated types
that implement specifically CATIEnumere
This interface is similar to CATIType interface.

See also:
, , , ,


Method Index


o GetValueType()
Returns the kind of value which is hidden behind the type (Real for a dimension).
o Isa(CATICkeType_var&)
This method tests the identity of two types.
o IsaBoolean()
Tests is this type is the boolean type.
o IsaInteger()
Tests is this type is the integer type.
o IsaKindOf(CATICkeType_var&)
Tests if this Knowledge type is a subtype of the one in argument.
o IsaKindOf(CATUnicodeString&)
Tests if this Knowledge type is a subtype of the one in argument.
o IsaReal()
Tests is this type is the real type.
o IsaString()
Tests is this type is the string type.
o MKS()
Returns the MKS equivalent of this type if any.
o Name()
Returns the name of the type (internal identifier).
o Show()
Returns a NLS string that represents the type.
o UserName()
Returns the Knowledge type NLS name.

Methods


o GetValueType
public virtual GetValueType()
Returns the kind of value which is hidden behind the type (Real for a dimension).
o Isa
public virtual Isa( const iType)
This method tests the identity of two types. You can also simply compare Knowledge types with the == operator.
Parameters:
iType
type compared to Basic types are available in CATIParmDictionary.
Returns:
CATCke::True if identify, CATCke::False instead
o IsaBoolean
public virtual IsaBoolean()
Tests is this type is the boolean type. You can also simply compare this type and CATIParmDictionary::GetBooleanType with the == operator.
Returns:
result of the test
o IsaInteger
public virtual IsaInteger()
Tests is this type is the integer type. You can also simply compare this type and CATIParmDictionary::GetIntegerType with the == operator.
Returns:
result of the test
o IsaKindOf
public virtual IsaKindOf( const iType)
Tests if this Knowledge type is a subtype of the one in argument.
Parameters:
iType
type compared to
Returns:
result of the test
Legal values:return value can be CATCke::True if this type is a sub-type of the other, or CATCke::False if it isn't
o IsaKindOf
public virtual IsaKindOf( const iTypeName)
Tests if this Knowledge type is a subtype of the one in argument.
Parameters:
iTypeName
name of the type compared to
Returns:
result of the test
Legal values:return value can be CATCke::True if this type is a sub-type of the other, or CATCke::False if it isn't
o IsaReal
public virtual IsaReal()
Tests is this type is the real type. You can also simply compare this type and CATIParmDictionary::GetRealType with the == operator.
Returns:
result of the test
o IsaString
public virtual IsaString()
Tests is this type is the string type. You can also simply compare this type and CATIParmDictionary::GetStringType with the == operator.
Returns:
result of the test
o MKS
public virtual MKS()
Returns the MKS equivalent of this type if any.
o Name
public virtual Name()
Returns the name of the type (internal identifier). This name is the one used to find a type by its name in CATIParmDictionary and CATITypeDictionary methods.
o Show
public virtual Show()
Returns a NLS string that represents the type. Must be used to show the type to the users.
o UserName
public virtual UserName()
Returns the Knowledge type NLS name.

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

Copyright © 1999-2015, Dassault Systèmes. All rights reserved.