| 115 | |
| 116 | |
| 117 | void DcmStack::clear() |
| 118 | { |
| 119 | DcmStackNode *node; |
| 120 | while (topNode != (DcmStackNode*)NULL) |
| 121 | { |
| 122 | node = topNode; |
| 123 | topNode = topNode->link; |
| 124 | delete node; |
| 125 | } |
| 126 | cardinality = 0; |
| 127 | } |
| 128 | |
| 129 | |
| 130 | // ******************************** |
nothing calls this directly
no outgoing calls
no test coverage detected