Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changes between Version 7 and Version 8 of code/doc/ClassTreeMask


Ignore:
Timestamp:
Feb 27, 2008, 11:02:19 PM (17 years ago)
Author:
landauf
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • code/doc/ClassTreeMask

    v7 v8  
    241241In the following examples we use two masks: mask1 and mask2. They are defined in the following pieces of code:
    242242
    243 [[Image(example13.gif, 200, right)]]
     243[[Image(testclass_tree_mask1.gif, 200, right)]]
    244244{{{
    245245#!cpp
     
    257257}}}
    258258
    259 [[Image(example14.gif, 200, right)]]
     259[[Image(testclass_tree_mask2.gif, 200, right)]]
    260260{{{
    261261#!cpp
     
    273273mask2.exclude(Class(A3B2C2));
    274274}}}
     275
     276[[Image(testclass_tree_mask_1or2.gif, 200, right)]]
     277{{{
     278#!cpp
     279// or-operator:
     280
     281ClassTreeMask result = mask1 + mask2;
     282}}}
     283
     284[[br]]
     285[[br]]
     286[[br]]
     287[[br]]
     288
     289[[Image(testclass_tree_mask_1and2.gif, 200, right)]]
     290{{{
     291#!cpp
     292// and-operator:
     293
     294ClassTreeMask result = mask1 * mask2;
     295}}}
     296
     297[[br]]
     298[[br]]
     299[[br]]
     300[[br]]
     301
     302[[Image(testclass_tree_mask_1minus2.gif, 200, right)]]
     303{{{
     304#!cpp
     305// minus-operator:
     306
     307ClassTreeMask result = mask1 - mask2;
     308}}}
     309
     310[[br]]
     311[[br]]
     312[[br]]
     313[[br]]
     314
     315
     316[[Image(testclass_tree_mask_1xor2.gif, 200, right)]]
     317{{{
     318#!cpp
     319// xor-operator:
     320
     321ClassTreeMask result = mask1 ^ mask2;
     322}}}
     323
     324[[br]]
     325[[br]]
     326[[br]]
     327[[br]]
     328
     329[[Image(testclass_tree_mask_not1.gif, 200, right)]]
     330{{{
     331#!cpp
     332// not-operator:
     333
     334ClassTreeMask result = !mask1;
     335}}}
     336
     337[[br]]
     338[[br]]
     339[[br]]
     340[[br]]