/[PAMELA software]/PamCut/Collections/SmartCollection/SmartCollection.cpp
ViewVC logotype

Diff of /PamCut/Collections/SmartCollection/SmartCollection.cpp

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

revision 1.4 by pam-fi, Tue Jun 16 16:45:00 2009 UTC revision 1.5 by pam-fi, Wed Jun 17 13:02:39 2009 UTC
# Line 23  CollectionAction *SmartCollection::GetAc Line 23  CollectionAction *SmartCollection::GetAc
23      return _actions[iAction];      return _actions[iAction];
24  }  }
25    
26    CollectionAction *SmartCollection::GetAction(const char *actionName) {
27      if (_actions.size() == 0)
28        return NULL;
29      for (unsigned int i = 0; i < _actions.size(); i++){
30        if (strcmp(_actions[i]->GetName(), actionName) == 0)
31          return _actions[i];
32      }
33    
34      return NULL;
35    }
36    
37  void SmartCollection::Setup(PamLevel2 *events) {  void SmartCollection::Setup(PamLevel2 *events) {
38    PamCutCollection::Setup(events);    PamCutCollection::Setup(events);
39    

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

  ViewVC Help
Powered by ViewVC 1.1.23