All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

ObjectSpecsModeler Interface CATISpecAttrKey

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

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


interface CATISpecAttrKey

Interface to access an attribute's value.

Role: It is similar to CATISpecAttribute but this interface is not attached to a particular SpecObject : it is an abstraction of the attribute (i.e. generally the startup attribute).
Key can be used instead of the attribute name for all instances of that startup.

See also:
CATISpecAttrAccess, CATISpecObject


Method Index


o GetListType()
Returns the type of the elements in a list attribute, i.
o GetName()
Returns the name of the attribute.
o GetOwner()
Returns the feature holding the attribute.
o GetType()
Returns the type of an attribute, i.

Methods


o GetListType
public virtual CATAttrKind GetListType()const = 0
Returns the type of the elements in a list attribute, i.e. tk_integer, tk_specobject, etc.
WARNING: on an attribute that is NOT a list, this method will return tk_list !
o GetName
public virtual CATUnicodeString GetName()const = 0
Returns the name of the attribute.
o GetOwner
public virtual CATISpecObject* GetOwner()const = 0
Returns the feature holding the attribute.
Returns:
CATBaseUnknown#Release
o GetType
public virtual CATAttrKind GetType()const = 0
Returns the type of an attribute, i.e. tk_integer, tk_specobject, etc.
WARNING: on an attribute that is a list, this method will return tk_list. You should then use GetListType to get the underlying type.

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

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