All Frameworks Class Hierarchy This Framework Previous Next Indexes
VPMInterfaces Interface CATICfgANDExpression
System.IUnknown
|
+---System.IDispatch
|
+---System.CATBaseUnknown
|
+---CATICfgANDExpression
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATICfgANDExpression
Class to manage operations on ANDExpressions.
Role: A ANDexpression is a logical expression constituted of one
or several Normal Values. The Normal Values are linked with the AND logical operator.
A ANDexpression is used in the context of Configuration.
It serves to give an effectivitity to a part Instance, based on ranges, dates,and milestones.
- See also:
- CATICfgNormalValue, CATICfgORExpression
Method Index
- o
Add(CATICfgNormalValue_var&)
- Add a new NormalValue to an ANDExpression.
- o
ComputeAND(CATICfgANDExpression_var&,CATICfgANDExpression_var&)
- Concatenate two ANDExpressions.
- o
CopyMe(CATICfgANDExpression_var&)
- Copy an ANDExpression.
- o
Dump()
- Dump informations on an ANDExpression.
- o
Empty()
- Clean the ANDExpression by Removing Normal Values.
- o
GetNbOfValues(long&)
- Get the number of Normal Values contained in a ANDExpression.
- o
GetValues(CATListOfCATICfgNormalValue_var&)
- Get the Normal Values contained in an ANDExpression.
- o
Inverse(CATICfgORExpression_var&)
- Inverse an ANDExpression.
- o
IsEqual(CATICfgANDExpression_var&)
- Compare two ANDExpressions.
- o
SeekForNV(CATICfgNormalValue_var&)
- Search a normal Value in an ANDExpression.
- o
Simplify(CATICfgANDExpression_var&)
- Simplify an ANDExpression.
Methods
o Add
public virtual void Add( | const CATICfgNormalValue_var& | iValue) = 0 |
-
Add a new NormalValue to an ANDExpression.
- Parameters:
-
- iValue
- The Normal Value to add.
o ComputeAND
public virtual HRESULT ComputeAND( | const CATICfgANDExpression_var& | iANDExp, |
| CATICfgANDExpression_var& | oANDExp) const = 0 |
-
Concatenate two ANDExpressions. Perform simplifications if possible.
- Parameters:
-
- iANDExp
- ANDexpression to compare with "this".
- oANDExp
- Computed ANDexpression, result of concatenation and simplifications.
o CopyMe
public virtual HRESULT CopyMe( | CATICfgANDExpression_var& | oANDExpression) = 0 |
-
Copy an ANDExpression.
- Parameters:
-
- oANDExpression
- Copy of the ANDExpression.
o Dump
public virtual void Dump( | )const = 0 |
-
Dump informations on an ANDExpression.
o Empty
public virtual void Empty( | )= 0 |
-
Clean the ANDExpression by Removing Normal Values.
o GetNbOfValues
public virtual HRESULT GetNbOfValues( | long& | oNbValues) const = 0 |
-
Get the number of Normal Values contained in a ANDExpression.
- Parameters:
-
- oNbValues
- Number of Normal Values.
o GetValues
-
Get the Normal Values contained in an ANDExpression.
- Parameters:
-
- oList
- List Of Normal Values.
o Inverse
public virtual void Inverse( | CATICfgORExpression_var& | oORExp) const = 0 |
-
Inverse an ANDExpression.
- Parameters:
-
- oORExpL
- Resulting ORExpression. To Remind: !(B AND C) = !B OR !C.
o IsEqual
public virtual int IsEqual( | const CATICfgANDExpression_var& | iANDExpression) const = 0 |
-
Compare two ANDExpressions.
- Returns:
- An integer.
Legal values : 0 means EQUAL, 1 means DIFFERENT.
- Parameters:
-
- iANDExpression
- ANDExpression to compare with "this".
o SeekForNV
public virtual int SeekForNV( | const CATICfgNormalValue_var& | iNV) const = 0 |
-
Search a normal Value in an ANDExpression.
- Returns:
- An integer.
Legal values : 0 = Found , 1 = not Found.
- Parameters:
-
- iNV
- Normal Value to search.
o Simplify
public virtual HRESULT Simplify( | CATICfgANDExpression_var& | oANDExp) const = 0 |
-
Simplify an ANDExpression.
- Parameters:
-
- oANDExp
- Simplified ANDexpression. For example R(1,10) & R(3,8) & R(4,20) gives R(4,8).
This object is included in the file: CATICfgANDExpression.h
If needed, your Imakefile.mk should include the module: GUIDVPMInterfaces