Remove all stored properties from the table
| 101 | |
| 102 | //! Remove all stored properties from the table |
| 103 | void Clean() { |
| 104 | // invoke the virtual destructor for all stored properties |
| 105 | for (PropertyMap::iterator it = pmap.begin(), end = pmap.end(); |
| 106 | it != end; ++it) { |
| 107 | delete (*it).second; |
| 108 | } |
| 109 | pmap.clear(); |
| 110 | } |
| 111 | |
| 112 | //! Add a heap property to the list |
| 113 | template <typename T> |
no test coverage detected