MCPcopy Create free account
hub / github.com/FreeCAD/FreeCAD / exportTo

Method exportTo

src/Base/Parameter.cpp:264–274  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

262}
263
264void ParameterGrp::exportTo(const char* FileName)
265{
266 auto Mngr = ParameterManager::Create();
267
268 Mngr->CreateDocument();
269
270 // copy all into the new document
271 insertTo(Base::Reference<ParameterGrp>(Mngr));
272
273 Mngr->SaveDocument(FileName);
274}
275
276void ParameterGrp::importFrom(const char* FileName)
277{

Callers 2

activatedMethod · 0.45
TEST_FFunction · 0.45

Calls 3

CreateDocumentMethod · 0.80
SaveDocumentMethod · 0.80
CreateFunction · 0.50

Tested by

no test coverage detected