All Frameworks Class Hierarchy This Framework Indexes
VPMInterfaces Interface 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 Add( | const | iValue) |
-
Add a new NormalValue to an ANDExpression.
- Parameters:
-
- iValue
- The Normal Value to add.
o ComputeAND
| public virtual ComputeAND( | const | iANDExp, |
| | oANDExp) |
-
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 CopyMe( | | oANDExpression) |
-
Copy an ANDExpression.
- Parameters:
-
- oANDExpression
- Copy of the ANDExpression.
o Dump
-
Dump informations on an ANDExpression.
o Empty
-
Clean the ANDExpression by Removing Normal Values.
o GetNbOfValues
| public virtual GetNbOfValues( | | oNbValues) |
-
Get the number of Normal Values contained in a ANDExpression.
- Parameters:
-
- oNbValues
- Number of Normal Values.
o GetValues
| public virtual GetValues( | | oList) |
-
Get the Normal Values contained in an ANDExpression.
- Parameters:
-
- oList
- List Of Normal Values.
o Inverse
| public virtual Inverse( | | oORExp) |
-
Inverse an ANDExpression.
- Parameters:
-
- oORExpL
- Resulting ORExpression. To Remind: !(B AND C) = !B OR !C.
o IsEqual
| public virtual IsEqual( | const | iANDExpression) |
-
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 SeekForNV( | const | iNV) |
-
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 Simplify( | | oANDExp) |
-
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