/[PAMELA software]/PamCut/Collections/SmartBlindCollection/SmartBlindCollection.h
ViewVC logotype

Diff of /PamCut/Collections/SmartBlindCollection/SmartBlindCollection.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by pam-fi, Fri Jun 5 13:14:34 2009 UTC revision 1.4 by pam-fi, Tue Oct 27 10:23:59 2009 UTC
# Line 19  Line 19 
19   * This collection differs from SmartCollection only because it is blind, ie., it will apply   * This collection differs from SmartCollection only because it is blind, ie., it will apply
20   * all the cuts to each events, even if some of them fail (see #BlindCutCollection to get   * all the cuts to each events, even if some of them fail (see #BlindCutCollection to get
21   * more info about blind collections). In current implementation, after a cut has failed, it   * more info about blind collections). In current implementation, after a cut has failed, it
22   * will call OnBad for all the actions that come after that cut, regardless if, for example,   * will call OnBad for all the actions that come after that cut (also the ones at the end of
23   * in a certain subsequent bunch all the cuts are satisfied.   * successive bunches), regardless if, for example, in a certain subsequent bunch all the
24     * cuts are satisfied.
25   */   */
26  class SmartBlindCollection: public SmartCollection {  class SmartBlindCollection: public SmartCollection {
27    
# Line 29  public: Line 30  public:
30    /*! @brief Constructor.    /*! @brief Constructor.
31     *     *
32     * @param collectionName The collection's name.     * @param collectionName The collection's name.
33       * @param owns If true, the collection will own the cuts and the actions, ie., it will
34       *             destroy them in its destructor.
35     */     */
36    SmartBlindCollection(const char* collectionName) :    SmartBlindCollection(const char* collectionName, bool owns = true) :
37      SmartCollection(collectionName){      SmartCollection(collectionName, owns) {
38    }    }
39    
40    /*! @brief Destructor. */    /*! @brief Destructor. */

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.23