All Frameworks  Class Hierarchy  This Framework  Indexes   

KnowledgeInterfaces Class CATAttributeInfos

Usage: you must use this class as is. You should never derive it.


public class CATAttributeInfos

Class to be used to define attributes of CATIType .

See also:
CATIType
See also:
CATITypeDictionary.CreateType
See also:
CATIInstance


Constructor and Destructor Index


o ~CATAttributeInfos()
destructor
o CATAttributeInfos(CATIType_var&,CATUnicodeString&,CATUnicodeString&,boolean,boolean,boolean,CATUnicodeString&)
Constructor.
o CATAttributeInfos(CATAttributeInfos&)
copy constructor

Method Index


o GetAttributeAccess()
Do Not Use this method.
o IsComponent()
Returns the aggregability of the attribute.
o IsDynamic()
Returns the dynamicity of the attribute.
o IsVisible()
Returns the visibility of the attribute.
o IsWritable()
Returns the writability of the attribute.
o NLSName()
Returns the NLS name of the attribute.
o Name()
Returns the internal name of the attribute.
o SetDynamic()
Indicates if the attribute is dynamically added on an object.
o Type()
Returns the type the attribute belongs to.
o operator!=(CATAttributeInfos&)
Operator to compare difference.
o operator==(CATAttributeInfos&)
Operator to compare equality.
o operator=(CATAttributeInfos&)
Operator to affect a value.

Constructor and Destructor


o ~CATAttributeInfos
public ~CATAttributeInfos()
destructor
o CATAttributeInfos
public CATAttributeInfos( const iType,
const iName,
const iNLSName,
const isWriteable= 1,
const isComponent= 0,
const isVisible= 1,
const iAttributeAccess= "")
Constructor.
Parameters:
iType
Type the attribute is added to.
iName
Internal name of the attribute.
iNLSName
NLS (user) name of the attribute.
isWriteable
TRUE if the attribute can be modified, else FALSE. Default is TRUE.
isComponent
TRUE if the attribute contains a component. If TRUE, the component's owner should be the owner of the attribute, and its name the attribute name. Default is FALSE.
isVisible
TRUE if the attribute is visible by the user, else FALSE. Default is TRUE.
iAttributeAccess
Only Use the Default Value = "".
(Name of the CATIAttributeAccess implementation class used to valuate the attribute. It is used by the default implementation of
CATIInstance.GetValue and CATIInstance.SetValue to actually get/set the attribute value. It is necessary when two CATIInstance implementations, whose types derive one from another, don't derive one from another.
Default is "".
o CATAttributeInfos
public CATAttributeInfos( const iInfos)
copy constructor

Methods


o GetAttributeAccess
public GetAttributeAccess()
Do Not Use this method. Returns the name of the CATIAttributeAccess implementation.
Returns:
a string.
o IsComponent
public IsComponent()
Returns the aggregability of the attribute.
Returns:
TRUE if it an aggregation, else FALSE.
o IsDynamic
public IsDynamic()
Returns the dynamicity of the attribute. Default value is FALSE.
Returns:
TRUE if it is a dynamic attribute, FALSE instead
o IsVisible
public IsVisible()
Returns the visibility of the attribute.
Returns:
TRUE if visible, else FALSE.
o IsWritable
public IsWritable()
Returns the writability of the attribute.
Returns:
TRUE if writable, else FALSE.
o NLSName
public NLSName()
Returns the NLS name of the attribute.
Returns:
a string.
o Name
public Name()
Returns the internal name of the attribute.
Returns:
a string.
o SetDynamic
public SetDynamic()
Indicates if the attribute is dynamically added on an object.
o Type
public Type()
Returns the type the attribute belongs to.
Returns:
a type.
o operator!=
public operator!=( const iInfos)
Operator to compare difference.
o operator==
public operator==( const iInfos)
Operator to compare equality.
o operator=
public operator=( const iInfos)
Operator to affect a value.

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

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