All Frameworks  Class Hierarchy  This Framework  Indexes   

VPMInterfaces Interface CATICfgSpecANDExpression

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


interface CATICfgSpecANDExpression

Class to manage operations on SpecANDExpressions.
Role: A SpecANDexpression is a logical expression constituted of one or several Signed Specifications. The Signed Specifications are linked with the AND logical operator. A SpecANDexpression is used in the context of Configuration. It serves to give an effectivitity to a part Instance, based on specifications.

See also:
CATICfgSpecORExpression, CATICfgSignedSpec


Method Index


o AddListOfSignedSpec(CATListValCATICfgSignedSpec_var&)
Add a list of Signed Specs to a SpecANDexpression.
o AddSignedSpec(CATICfgSignedSpec_var&)
Add a Signed Specific to a SpecANDExpression.
o AddSpecANDExp(CATICfgSpecANDExpression_var&)
Add a SpecANDExpression to a SpecANDExpression(Concatenation).
o CopySpecANDExp(CATICfgSpecANDExpression_var&)
Copy a SpecANDExpression
o Dump()
Dump informations on a SpecANDExpression to STDOUT.
o EmptySpecANDExp()
Remove all Signed Specs from a SpecANDExpression.
o GetAsXmlString(CATUnicodeString&)
Get a XML String representing a SpecANDExpression
o GetListNV(CATListValCATICfgNormalValue_var&)
Convert a SpecANDExpression to a list of Normal Values.
o GetListOfSignedSpec(CATListValCATICfgSignedSpec_var&)
Get the List of Signed Spec composing a SpecANDExpression.
o GetNbOfSignedSpec()
Get the number of Signed Specs composing a SpecANDExpression.
o IsIncludedIn(CATICfgSpecANDExpression_var&)
Inclusion test on two SpecANDExpressions.

Methods


o AddListOfSignedSpec
public virtual AddListOfSignedSpec( iListSpec)
Add a list of Signed Specs to a SpecANDexpression.
Returns:
An HRESULT value.
Legal values: S_OK : iListSpec successfully added. E_FAIL : iListSpec is not compatible with "this" expression.
Parameters:
iListOfSpecs
The List of SignedSpecs.
o AddSignedSpec
public virtual AddSignedSpec( const iSpec)
Add a Signed Specific to a SpecANDExpression.
Returns:
An HRESULT value.
Legal values: S_OK : iSpec successfully added. E_FAIL : iSpec is not compatible with "this" expression.
Parameters:
iSpec
The Signed Specification to add.
o AddSpecANDExp
public virtual AddSpecANDExp( const iSpecANDExp)
Add a SpecANDExpression to a SpecANDExpression(Concatenation).
Returns:
An HRESULT value.
Legal values: S_OK : iSpecANDExpr successfully added. E_FAIL : iSpecANDExp is not compatible with "this" expression.
Parameters:
iSpecANDExp
The SpecANDExpression to add.
o CopySpecANDExp
public virtual CopySpecANDExp( oSpecANDExpression)
Copy a SpecANDExpression
Returns:
An HRESULT Value.
Parameters:
oSpecANDexpression
Copy of the SpecANDExpression.
o Dump
public virtual Dump()
Dump informations on a SpecANDExpression to STDOUT.
o EmptySpecANDExp
public virtual EmptySpecANDExp()
Remove all Signed Specs from a SpecANDExpression.
o GetAsXmlString
public virtual GetAsXmlString( oEncodedString)
Get a XML String representing a SpecANDExpression
Returns:
A CATUnicideString in XML format.
o GetListNV
public virtual GetListNV( oListNV)
Convert a SpecANDExpression to a list of Normal Values.
Returns:
An HRESULT Value.
Parameters:
oListNV
List Of Normal Values
o GetListOfSignedSpec
public virtual GetListOfSignedSpec( oListOfSpec)
Get the List of Signed Spec composing a SpecANDExpression.
Parameters:
oListOfSpecs
The List of SignedSpecs.
o GetNbOfSignedSpec
public virtual GetNbOfSignedSpec()
Get the number of Signed Specs composing a SpecANDExpression.
Returns:
An integer value (int).
Parameters:
oNbVaLues
The number of Signed Specs.
o IsIncludedIn
public virtual IsIncludedIn( iSpecANDExpression)
Inclusion test on two SpecANDExpressions.
Returns:
An HRESULT Value.
Legal values: S_OK : "this" is included in iSpecANDExpression. S_FALSE : "this" is not included in iSpecANDExpression.
Parameters:
iSpecANDExpression
The SpecANDExpression with wich inclusion will be tested.
oListSpecNonIncluded
Contains non-included specifications. example: "this" = "SpecA and SpecD", "iSpecANDExpression"= "SpecA and SpecC and SpecB". Result: ret = S_FALSE, and "oListSpecNonIncluded" = "SpecD".

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

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