Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changes between Version 3 and Version 4 of code/doc/ClassTreeMask


Ignore:
Timestamp:
Feb 27, 2008, 10:17:20 PM (17 years ago)
Author:
landauf
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • code/doc/ClassTreeMask

    v3 v4  
    4646== Examples ==
    4747
     48=== Include and Exclude ===
     49[[Image(example1.gif, 200, right)]]
     50{{{
     51#!cpp
     52// Create a new mask - at the beginning everything is included
    4853
     54ClassTreeMask mymask;
     55}}}
     56
     57[[br]]
     58[[br]]
     59[[br]]
     60[[br]]
     61
     62[[Image(example2.gif, 200, right)]]
     63{{{
     64#!cpp
     65// Now exclude A2
     66
     67mymask.exclude(Class(A2));
     68}}}
     69
     70
     71[[br]]
     72[[br]]
     73[[br]]
     74[[br]]
     75
     76[[Image(example3.gif, 200, right)]]
     77{{{
     78#!cpp
     79// Include A2B1C1, A2B2C1 and A3B2
     80
     81mymask.include(Class(A2B1C1));
     82mymask.include(Class(A2B2C1));
     83mymask.include(Class(A3B2));
     84}}}
     85
     86[[br]]
     87[[br]]
     88
     89=== Include single and exclude single ===
     90
     91[[Image(example4.gif, 200, right)]]
     92{{{
     93#!cpp
     94// Create a new mask and exclude only A2 but noth the following classes
     95
     96ClassTreeMask mymask;
     97mymask.excludeSingle(Class(A2));
     98}}}
     99