MCPcopy Create free account
hub / github.com/IfcOpenShell/IfcOpenShell / closeParent

Method closeParent

src/serializers/ColladaSerializer.cpp:275–291  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

273}
274
275void ColladaSerializer::ColladaExporter::ColladaScene::closeParent()
276{
277 // Get the top element
278 COLLADASW::Node *current_node = parentNodes.top();
279
280 // Close the node
281 current_node->end();
282
283 // Remove it from the stack
284 parentNodes.pop();
285 matrixStack.pop();
286 serializer->parentStackId.pop();
287
288 // Free the memory
289 delete current_node;
290 current_node = NULL;
291}
292
293void ColladaSerializer::ColladaExporter::ColladaScene::write() {
294 if (scene_opened) {

Callers 1

endDocumentMethod · 0.80

Calls 2

popMethod · 0.80
endMethod · 0.45

Tested by

no test coverage detected