| 66 |
*/ |
*/ |
| 67 |
CollectionAction *GetAction(unsigned int iAction); |
CollectionAction *GetAction(unsigned int iAction); |
| 68 |
|
|
| 69 |
|
/*! @brief Searches for an action by name. |
| 70 |
|
* |
| 71 |
|
* @param actionName The name of the action to search for. |
| 72 |
|
* @return pointer to the desired action; NULL if the specified action cannot be found or if no actions are present. |
| 73 |
|
*/ |
| 74 |
|
CollectionAction *GetAction(const char *actionName); |
| 75 |
|
|
| 76 |
|
/*! @brief The number of actions in the collection. |
| 77 |
|
* |
| 78 |
|
* @return The number of actions currently in the collection. |
| 79 |
|
*/ |
| 80 |
|
unsigned int GetActionsSize(){ |
| 81 |
|
return _actions.size(); |
| 82 |
|
} |
| 83 |
|
|
| 84 |
/*! @brief The pre-analysis task definition. |
/*! @brief The pre-analysis task definition. |
| 85 |
* |
* |
| 86 |
* This override of the Setup() method calls Setup() for the base class PamCutCollection, and subsequently for each |
* This override of the Setup() method calls Setup() for the base class PamCutCollection, and subsequently for each |
| 111 |
std::vector<CollectionAction*> _actions; |
std::vector<CollectionAction*> _actions; |
| 112 |
std::vector<unsigned int> _actionsPositions; |
std::vector<unsigned int> _actionsPositions; |
| 113 |
|
|
|
|
|
|
|
|
| 114 |
}; |
}; |
| 115 |
|
|
| 116 |
#endif /* SMARTCOLLECTION_H_ */ |
#endif /* SMARTCOLLECTION_H_ */ |