| 145 | } |
| 146 | |
| 147 | std::shared_ptr<cPhase> PhaseGet(size_t pPhase) { |
| 148 | if (!pPhase) |
| 149 | pPhase = 1; |
| 150 | |
| 151 | if (!mPhases.size() || pPhase > mPhases.size()) |
| 152 | return 0; |
| 153 | |
| 154 | return mPhases[pPhase - 1]; |
| 155 | } |
| 156 | |
| 157 | size_t NumberOfPhases() const { return mPhases.size(); } |
| 158 | }; |
no test coverage detected