All Frameworks  Class Hierarchy  This Framework  Indexes   

VPMDesktopServices Class VPMIQAttributeExt

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


public class VPMIQAttributeExt

Class extends VPMIQAttribute to add one more icons for an attribute.
Role: An object owns a dynamic list of attributes in addition to icon number for display icon in GUI at client. New attribute is added through this. class : list of int. For multi-valued attribute, list of int will have multiple value(one for each value in addition to global value) but for single-valued attribute list of int will have only one value This class is not meant to be subclassed.


Constructor and Destructor Index


o ~VPMIQAttributeExt()
o VPMIQAttributeExt(CATUnicodeString&,int,int,int,CATUnicodeString&,CATUnicodeString&,int,int,int,CATUnicodeString&)
Constructs VPMIQAttributeExt instance.

Method Index


o GetIconsFacet()
Gets the list of icon values of the attribute.
o SetIconsFacet(CATListOfInt&)
Sets the list of icon values.

Constructor and Destructor


o ~VPMIQAttributeExt
public ~VPMIQAttributeExt()
o VPMIQAttributeExt
public VPMIQAttributeExt( const iName,
iType,
iLength= 300,
iDBlength= 300,
const iSynonym= VPMIQAttribute::DefaultSynonym,
const iFamily= VPMIQAttribute::DefaultFamily,
iRequired= 0,
iUpdatable= 1,
iUnique= 1,
const iObject= VPMIQAttribute::DefaultObject )
Constructs VPMIQAttributeExt instance. Some basic and mandatory fields are initialized.
Parameters:
iName
Name of the attribute.
iType
Type of the attribute (see the define section).
iLength
actual length of the attribute (for string attribute) (optional).
iDBlength
maximal length in database (for string attribute) (optional).
iSynonym
alias of the attribute to be displayed on screen (optional).
iFamily
Attribute of context properties or object (optional).
iRequired
true if the attribute is mandatory (optional).
iUpdatable
true if the attribute is read - write (optional).
iUnique
true if the attribute is unique (optional).
iObject
The object owning the attribute (optional).

Methods


o GetIconsFacet
public GetIconsFacet()
Gets the list of icon values of the attribute.
o SetIconsFacet
public SetIconsFacet( const iLstIconNum)
Sets the list of icon values. one value in the list means single valued attribute more than one value means, multi-valued attribute(List) and first value in the list will always represent global icon for the attribute and remaining values will represent icon for other values. if value is not present or set to 0, will be considered as no icon required.

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

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