OpenTREP Logo  0.07.18
C++ Open Travel Request Parsing Library
Loading...
Searching...
No Matches
FacServiceAbstract.cpp
Go to the documentation of this file.
1// //////////////////////////////////////////////////////////////////////
2// Import section
3// //////////////////////////////////////////////////////////////////////
4// STL
5#include <cassert>
6// OpenTREP
9
10namespace OPENTREP {
11
12 // //////////////////////////////////////////////////////////////////////
16
17 // //////////////////////////////////////////////////////////////////////
19 for (ServicePool_T::iterator itService = _pool.begin();
20 itService != _pool.end(); itService++) {
21 ServiceAbstract* currentService_ptr = *itService;
22 assert (currentService_ptr != NULL);
23
24 delete (currentService_ptr); currentService_ptr = NULL;
25 }
26
27 // Empty the pool of Service Factories
28 _pool.clear();
29 }
30
31}