All Frameworks Class Hierarchy This Framework Next Indexes
ObjectSpecsModeler CATBehaviorSpecs
CATBehaviorSpecs
Usage: you must use this class as is. You should never derive it.
public class CATBehaviorSpecs
Collection class for pointer on list of interfaces.
Only the following methods of pointer collection classes are available:
- CtorFromArrayPtrs
- AppendList
- InsertAt
- ReSize
- Locate
- eqOP
- neOP
- RemoveValue
- RemoveList
- RemovePosition
- RemoveNulls
- RemoveAll
- RemoveDuplicates
- Compare
- Swap
- QuickSort
- FillArrayPtrs
- NbOccur
- Intersection
Refer to the articles dealing with collections in the encyclopedia.
Usage:
Elements must be created as follows :
CATBehaviorSpecs* mySpecs = new CATBehaviorSpecs;
CATListPV* myFirstList = new CATListPV;
myFirstList->Append(&IID_CATIHello);
myFirstList->Append(&IID_CATIBonjour);
mySpecs->Append(myFirstList);
CATListPV* mySecondList = new CATListPV;
mySecondList->Append(&IID_CATIAufwiedersehen);
mySecondList->Append(&IID_CATIArrivederci);
mySpecs->Append(mySecondList);
(...)
To sum up : mySpecs = [ [ CATIHello , CATIBonjour ] ,
[ CATIAufwiedersehen , CATIArrivederci ] ]
The resulting CATBehaviorSpecs will be translated as
( CATIHello AND CATIBonjour ) OR ( CATIAufwiedersehen AND CATIArrivederci )
This object is included in the file: CATBehaviorSpecs.h