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 |
|
|