All Frameworks  Class Hierarchy  This Framework  Indexes   

ObjectSpecsModeler Interface 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 GetListType()
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 GetName()
Returns the name of the attribute.
o GetOwner
public virtual GetOwner()
Returns the feature holding the attribute.
Returns:
CATBaseUnknown#Release
o GetType
public virtual GetType()
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.