MCPcopy Create free account
hub / github.com/DCMTK/dcmtk / clear

Method clear

dcmdata/libsrc/dcstack.cc:117–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115
116
117void 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// ********************************

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected