Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


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

Legend:

Unmodified
Added
Removed
Modified
  • code/doc/ClassTreeMask

    v4 v5  
    9898}}}
    9999
     100[[br]]
     101[[br]]
     102[[br]]
     103
     104=== Overwrite true and false ===
     105
     106[[Image(example5.gif, 200, right)]]
     107{{{
     108#!cpp
     109// Create a new mask, exclude A1 but include A1B1
     110
     111ClassTreeMask mymask;
     112mymask.exclude(Class(A1));
     113mymask.include(Class(A1));
     114}}}
     115
     116[[br]]
     117[[br]]
     118
     119[[Image(example6.gif, 200, right)]]
     120{{{
     121#!cpp
     122// Now exclude the BaseObject with overwrite = true (this is default)
     123//  -> everything is now excluded
     124
     125mymask.exclude(Class(BaseObject), true);
     126}}}
     127
     128[[br]]
     129[[br]]
     130[[br]]
     131
     132[[Image(example7.gif, 200, right)]]
     133{{{
     134#!cpp
     135// If we instead exclude the BaseObject with overwrite = false
     136//  -> A1B1 stays included
     137
     138mymask.exclude(Class(BaseObject), false);
     139}}}
     140
     141[[br]]
     142[[br]]
     143[[br]]
     144
     145=== Clean true and false ===
     146